All Products
Search
Document Center

:ListLiveDelayConfig

最終更新日:Aug 29, 2024

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 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 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 page number. Default value: 1

PageSize Integer No 10

The number of entries per page. Valid values: 5 to 30. Default value: 10.

Response parameters

Parameter

Type

Example

Description

DelayConfigList Array of DelayConfig

The stream delay configurations.

DelayConfig
App String liveApp****

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

DelayTime String 60

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

Domain String example.com

The main streaming domain.

Stream String liveStream****

The name of the live stream.

TaskTriggerMode String PUBLISH_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.
RequestId String A3136B58-5876-4168-83CA-B562781981A0

The request ID.

Total Integer 1

The number of stream delay configurations.

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

JSON format

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

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

Error codes

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