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
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListLiveDelayConfig | The operation that you want to perform. Set the value to ListLiveDelayConfig. |
Domain | String | Yes | example.com | The main streaming domain. |
PageNum | Integer | No | 1 | The number of the page to return. Default value: 1. |
PageSize | Integer | No | 10 | The number of entries to return on each page. Valid values: 5 to 30. Default value: 10. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Total | Integer | 1 | The number of stream delay configurations. |
RequestId | String | A3136B58-5876-4168-83CA-B562781981A0 | The request ID. |
DelayConfigList | Array of DelayConfig | Details about the stream delay configurations. | |
DelayConfig | |||
Stream | String | liveStream**** | The name of the live stream. |
Domain | String | example.com | The main streaming domain. |
TaskTriggerMode | String | PUBLISH_ONLY | The trigger mode. Valid values:
|
DelayTime | String | 60 | The duration for which the playback of the live stream is delayed. Unit: seconds. |
App | String | liveApp**** | 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.