All Products
Search
Document Center

ApsaraVideo Live:DescribeLiveAudioAuditConfig

Last Updated:Aug 09, 2024

Queries audio moderation configurations.

Usage notes

  • Obtain the main streaming domain, and then call this operation to query audio moderation configurations.
  • 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 DescribeLiveAudioAuditConfig

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

DomainName String Yes example.com

The main streaming domain.

AppName String No liveApp****

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

StreamName String No liveStream****

The name of the live stream.

Response parameters

Parameter

Type

Example

Description

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

The request ID.

LiveAudioAuditConfigList Array of LiveAudioAuditConfig

The list of audio moderation configurations.

LiveAudioAuditConfig
AppName String liveApp****

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

DomainName String example.com

The main streaming domain.

StreamName String liveStream****

The name of the live stream.

BizType String example.edu

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

Scenes Array of String ["antispam"]

The moderation scenario.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DescribeLiveAudioAuditConfig
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

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

<DescribeLiveAudioAuditConfigResponse>
    <RequestId>7BF95F2A-3B24-4CDE-9346-7F6FA86697A1</RequestId>
    <LiveAudioAuditConfigList>
        <AppName>liveApp****</AppName>
        <DomainName>example.com</DomainName>
        <StreamName>liveStream****</StreamName>
        <BizType>example.edu</BizType>
        <Scenes>["antispam"]</Scenes>
    </LiveAudioAuditConfigList>
</DescribeLiveAudioAuditConfigResponse>

JSON format

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

{
  "RequestId" : "7BF95F2A-3B24-4CDE-9346-7F6FA86697A1",
  "LiveAudioAuditConfigList" : {
    "LiveAudioAuditConfig" : [ {
      "AppName" : "liveApp****",
      "DomainName" : "example.com",
      "StreamName" : "liveStream****",
      "BizType" : "example.edu",
      "Scenes" : [ "[\"antispam\"]" ]
    } ]
  }
}

Error codes

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