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.
Note Before you call this operation, make sure that you fully understand the billing method and pricing of audio moderation in ApsaraVideo Live. For more information, see Billing of automated review.

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 limit on an API operation in ApsaraVideo Live.

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 ID of the request.

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

<?xml version="1.0" encoding="UTF-8" ?>
<AddLiveAudioAuditConfigResponse>
    <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CF8</RequestId>
</AddLiveAudioAuditConfigResponse>

JSON format

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

{
  "AddLiveAudioAuditConfigResponse" : {
    "RequestId" : "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
  }
}

Error codes

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