Queries the information about a stream delay configuration.

QPS limit

You can call this operation up to 60 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

ParameterTypeRequiredExampleDescription
ActionStringYesDescribeLiveDelayConfig

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

DomainStringYesexample.com

The main streaming domain.

AppStringYesliveApp****

The name of the application to which the live stream belongs. You can specify an asterisk (*) as the value to match all applications under the domain name.

StreamStringYesliveStream****

The name of the live stream. You can specify an asterisk (*) as the value to match all streams in the application.

Response parameters

ParameterTypeExampleDescription
DomainStringexample.com

The main streaming domain.

RequestIdStringA3136B58-5876-4168-83CA-B562781981A0

The request ID.

TaskTriggerModeStringPUBLISH_ONLY

The trigger mode. Valid values:

  • PUBLISH_ONLY: Stream delay can be triggered only by specifying the stream delay parameter in the ingest URL.
  • CONFIG_ONLY: Stream delay can be triggered only by the stream delay configuration.
  • PUBLISH_CONFIG: Stream delay can be triggered by the stream delay parameter in the ingest URL or the stream delay configuration. The stream delay parameter takes precedence over the stream delay configuration.
AppStringliveApp****

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

DelayTimeString60

The duration for which the playback of the live stream is delayed.

StreamStringliveStream****

The name of the live stream.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DescribeLiveDelayConfig
&Domain=example.com
&App=liveApp****
&Stream=liveStream****
&<Common request parameters>

Sample success responses

XML format

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

<DescribeLiveDelayConfigResponse>
    <Domain>example.com</Domain>
    <RequestId>A3136B58-5876-4168-83CA-B562781981A0</RequestId>
    <TaskTriggerMode>PUBLISH_ONLY</TaskTriggerMode>
    <App>liveApp****</App>
    <DelayTime>60</DelayTime>
    <Stream>liveStream****</Stream>
</DescribeLiveDelayConfigResponse>

JSON format

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

{
  "Domain" : "example.com",
  "RequestId" : "A3136B58-5876-4168-83CA-B562781981A0",
  "TaskTriggerMode" : "PUBLISH_ONLY",
  "App" : "liveApp****",
  "DelayTime" : "60",
  "Stream" : "liveStream****"
}

Error codes

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