Updates 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 limits.
Debugging
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | UpdateLiveDelayConfig | The operation that you want to perform. Set the value to UpdateLiveDelayConfig. |
Domain | String | Yes | example.com | The main streaming domain. |
App | String | Yes | liveApp**** | 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. |
Stream | String | Yes | liveStream**** | The name of the live stream. You can specify an asterisk (*) as the value to match all streams in the application. |
DelayTime | Integer | Yes | 60 | The duration for which the playback of the live stream is delayed. The value must be an integer. Valid values: 16 to 3600. Unit: seconds. |
TaskTriggerMode | String | No | PUBLISH_ONLY | The trigger mode. Valid values:
|
Response parameters
Parameter |
Type |
Example |
Description |
RequestId | String | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 | The request ID. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=UpdateLiveDelayConfig
&Domain=example.com
&App=liveApp****
&Stream=liveStream****
&DelayTime=60
&TaskTriggerMode=PUBLISH_ONLY
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateLiveDelayConfigResponse>
<RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>
</UpdateLiveDelayConfigResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Error codes
For a list of error codes, see Service error codes.