All Products
Search
Document Center

ApsaraVideo Live:AddLiveAudioAuditConfig

最終更新日:Jul 12, 2024

Adds an audio moderation configuration.

Usage notes

  • The automated review feature detects undesirable sensitive content in the audio from live streams and returns callbacks to notify you of the violations. Then, you can manually review the content and take actions accordingly.
  • Only some live centers support the automated review feature. For more information, see Supported regions.

QPS limit

You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes AddLiveAudioAuditConfig

The operation that you want to perform. Set the value to AddLiveAudioAuditConfig.

DomainName String Yes example.com

The main streaming domain.

AppName String Yes liveApp****

The name of the application to which the live stream belongs.

StreamName String Yes liveStream****

The name of the live stream.

OssBucket String No liveBucket****

The name of the Object Storage Service (OSS) bucket.

OssEndpoint String No cn-oss-****.aliyuncs.com

The endpoint of the OSS bucket.

OssObject String No liveObject****

The name of the storage file in OSS.

BizType String No example.edu

The business type. You can specify a model. The default value is the domain name.

Response parameters

Parameter

Type

Example

Description

RequestId String 7BF95F2A-3B24-4CDE-9346-7F6FA86697A1

The request ID.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=AddLiveAudioAuditConfig
&AppName=liveApp****
&DomainName=example.com
&StreamName=liveStream****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<AddLiveAudioAuditConfigResponse>
    <RequestId>7BF95F2A-3B24-4CDE-9346-7F6FA86697A1</RequestId>
</AddLiveAudioAuditConfigResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "7BF95F2A-3B24-4CDE-9346-7F6FA86697A1"
}

Error codes

For a list of error codes, see Service error codes.