Adds a stream delay configuration.
Operation description
Stream delay differs from latency caused by streaming protocols. Stream delay is a feature that lets you delay the playback of a live stream processed in the cloud.
QPS limits
The queries per second (QPS) limit for this operation is 60 for each user. If you exceed the limit, API calls are throttled, which may affect your business. Call this operation within the specified limit.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
live:CreateLiveDelayConfig | get | *Domain
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region ID. | cn-shanghai |
Domain | string | Yes | The main streaming domain. | example.com |
App | string | Yes | The AppName of the live stream. You can specify an asterisk (*) to match all AppNames under the domain name. | liveApp**** |
Stream | string | Yes | The name of the live stream. You can use the wildcard (*) to specify all StreamNames under the AppName. | liveStream**** |
DelayTime | integer | Yes | The duration for which the playback is delayed. The value must be an integer. Valid values: 16 to 3600. Unit: seconds. | 60 |
TaskTriggerMode | string | Yes | The trigger mode. Valid values:
| PUBLISH_ONLY |
Response elements
Parameter | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParameters | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.