Queries stream delay configurations.

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
ActionStringYesListLiveDelayConfig

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

DomainStringYesexample.com

The main streaming domain.

PageNumIntegerNo1

The number of the page to return. Default value: 1.

PageSizeIntegerNo10

The number of entries to return on each page. Valid values: 5 to 30. Default value: 10.

Response parameters

ParameterTypeExampleDescription
TotalInteger1

The number of stream delay configurations.

RequestIdStringA3136B58-5876-4168-83CA-B562781981A0

The request ID.

DelayConfigListArray of DelayConfig

Details about the stream delay configurations.

DelayConfig
StreamStringliveStream****

The name of the live stream.

DomainStringexample.com

The main streaming domain.

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.
DelayTimeString60

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

AppStringliveApp****

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

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=ListLiveDelayConfig
&Domain=example.com
&PageNum=1
&PageSize=10
&<Common request parameters>

Sample success responses

XML format

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

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

JSON format

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

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

Error codes

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