Skip to content

Commit 806f258

Browse files
authored
Merge pull request #51 from seymourtang/feat/cloudrecording
feat(CloudRecording): Add support for self-built cloud storage in StorageConfig and ExtensionParams
2 parents cb4045e + 4768227 commit 806f258

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

services/cloudrecording/api/start.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ type StorageConfig struct {
351351
// - 6: Google Cloud
352352
// - 7: Huawei Cloud
353353
// - 8: Baidu IntelligentCloud
354+
// - 11: Self-built cloud storage
354355
Vendor int `json:"vendor"`
355356

356357
// The region information specified for the third-party cloud storage.(Required)
@@ -404,6 +405,10 @@ type ExtensionParams struct {
404405
// This field is only applicable to Alibaba Cloud and Amazon S3.
405406
// For other third-party cloud storage services, this field is not required.
406407
Tag string `json:"tag"`
408+
// Domain name of self-built cloud storage.(Optional)
409+
//
410+
// This field is required when vendor is set to 11.
411+
Endpoint string `json:"endpoint,omitempty"`
407412
}
408413

409414
// @brief Configurations for extended services.

0 commit comments

Comments
 (0)