logo
On this page

How to fill in each cloud storage related parameter in StorageParams?

2024-01-18
Products / Plugins:Cloud recording
Platform / Framework:All

When developers call the Start Recording interface, they can carry the StorageParams parameter to specify the storage configuration of the recording task. At this time, developers need to specify the cloud storage service provider through the Vendor parameter and provide the corresponding storage information for that service. The specific filling method is as follows:

Amazon S3

When Vendor is 1, it means storing the recording file to Amazon S3. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to AWS Service Endpoints. According to the region where you have opened the Amazon S3 service, fill in the corresponding "Code" field, for example "cn-north-1".
  • Bucket: The name of the storage bucket. You can refer to Create Your First S3 Bucket to create a new S3 bucket.
  • AccessKeyId: The access key ID of cloud storage.
  • AccessKeySecret: The secret access key of cloud storage.

Please refer to Understanding and Getting Your AWS Credentials to get your access key ID and secret access key.

Alibaba Cloud OSS

When Vendor is 2, it means storing the recording file to Alibaba Cloud OSS. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to Access Domain and Data Center. According to the region where you have opened the Alibaba Cloud OSS service, fill in the corresponding "Region ID" field, for example "oss-cn-hangzhou".
  • Bucket: The name of the storage bucket. You can refer to Create Storage Space to create a new storage bucket.
  • AccessKeyId: The AccessKey ID of cloud storage.
  • AccessKeySecret: The AccessKey Secret of cloud storage.

It is recommended to provide the AccessKey of a RAM user with OSS write permissions. You can refer to RAM User Overview to create and obtain the corresponding AccessKey ID and AccessKey Secret.

Tencent Cloud COS

When Vendor is 3, it means storing the recording file to Tencent Cloud COS. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to Region and Access Domain. According to the region where you have opened the Tencent Cloud COS service, fill in the corresponding "Region Abbreviation" field, for example "ap-beijing".
  • Bucket: The bucket name in the format <BucketName-APPID>, for example "mybucket123-1250000000". You can refer to Create Bucket to create a new bucket.
  • AccessKeyId: The SecretId of cloud storage.
  • AccessKeySecret: The SecretKey of cloud storage.

It is recommended to provide the SecretId and SecretKey of a sub-user with COS write permissions. You can refer to Access Management User Guide to create and obtain the corresponding SecretId and SecretKey.

Qiniu Cloud Kodo

When Vendor is 4, it means storing the recording file to Qiniu Cloud Kodo. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to Storage Region. According to the region where you have opened the Qiniu Cloud Kodo service, fill in the corresponding "Region ID" field, for example "z0".
  • Bucket: The name of the storage space. You can refer to Quick Start Documentation to create a new storage space.
  • AccessKeyId: The AK of cloud storage.
  • AccessKeySecret: The SK of cloud storage.

Please log in to Qiniu Cloud and find "Key Management" under account information to get AK and SK.

Alibaba Cloud Vod

When Vendor is 5, it means storing the recording file to Alibaba Cloud Vod. At this time, you need to fill in AlibabaCloudVodParams. The members are as follows:

  • Region: The region information specified by cloud storage. Please refer to Video on Demand Center and Access Domain. According to the region where you have opened the Alibaba Cloud Vod service, fill in the corresponding "Storage Region Identifier" field, for example "cn-shanghai".
  • AccessKeyId: The AccessKey ID of cloud storage.
  • AccessKeySecret: The AccessKey Secret of cloud storage.

It is recommended to provide the AccessKey of a RAM user with Vod upload permissions. You can refer to RAM User Overview to create and obtain the corresponding AccessKey ID and AccessKey Secret.

  • Title: The video title specified during upload, user-defined.
  • StorageLocation: Storage address. Please refer to Storage Management to obtain it.

Tencent Cloud Vod

When Vendor is 6, it means storing the recording file to Tencent Cloud Vod. At this time, you need to fill in TencentCloudVodParams. The members are as follows:

  • SecretId: The SecretId of cloud storage.
  • SecretKey: The SecretKey of cloud storage.

It is recommended to provide the SecretId and SecretKey of a sub-user with Vod write permissions. You can refer to Access Management User Guide to create and obtain the corresponding SecretId and SecretKey.

  • Region: The region information specified by cloud storage. Please refer to the "Storage Region" section in Media Upload Overview. According to the storage region you have opened in Tencent Cloud Vod, fill in the corresponding "Region English Abbreviation" field, for example: "ap-beijing".
  • SubAppId: Sub-application AppId. Please refer to Sub-application System. If the sub-application function is not enabled, you can leave it blank.

Huawei Cloud OBS

When Vendor is 7, it means storing the recording file to Huawei Cloud OBS. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to Region and Endpoint. According to the region where you have opened the Huawei Cloud OBS service, fill in the corresponding "Region" field, for example "cn-north-4".
  • Bucket: The bucket name. You can refer to Create Bucket to create a new storage bucket.
  • AccessKeyId: The AK of cloud storage.
  • AccessKeySecret: The SK of cloud storage.

Please refer to Get Access Key (AK/SK) to get your AK and SK.

Google Cloud Storage

When Vendor is 8, it means storing the recording file to Google Cloud Storage. The information that needs to be filled in is as follows:

  • Bucket: The bucket name. You can refer to Create Storage Bucket to create a new storage bucket.
  • AccessKeyId: The HMAC access key of cloud storage.
  • AccessKeySecret: The HMAC key of cloud storage.

Please refer to Manage HMAC Keys for Service Accounts to create and obtain your keys.

China Mobile Cloud EOS

When Vendor is 9, it means storing the recording file to China Mobile Cloud EOS. The information that needs to be filled in is as follows:

  • Region: The region information specified by cloud storage. Please refer to Region and Access Domain. According to the region where you have opened the China Mobile Cloud EOS service, fill in the corresponding "Region" field, for example "eos-shanghai-1".
  • Bucket: The name of the storage bucket. You can refer to Create Storage Bucket to create a new storage bucket.
  • AccessKeyId: The Access Key of cloud storage.
  • AccessKeySecret: The Secret Key of cloud storage.

Please refer to Create Authentication Information to create and obtain the corresponding Access Key and Secret Key.

Previous

How to set and get ZIM SDK log information?

Next

In Android platform development, how to analyze the problem of high CPU usage and device overheating?

On this page

Back to top