SetLiveLazyPullStreamInfoConfig
Configures triggered stream pulling.
Operation description
This API configures triggered stream pulling. When a live stream starts on the origin server, ApsaraVideo Live automatically pulls the stream for live playback.
This API does not support the IPv6 protocol.
QPS limits
You can call this operation up to 1,000 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:SetLiveLazyPullStreamInfoConfig |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain name. |
example.com |
| AppName |
string |
Yes |
The name of the application. Note
To trigger origin fetch for all applications, set this parameter to ali_all_app. |
ali_all_app |
| PullDomainName |
string |
Yes |
The origin server that hosts the live stream. To specify multiple origin servers, separate them with semicolons (;). |
guide.aliyundoc.com |
| PullAppName |
string |
No |
The source application name. Note
Leave this parameter empty to use the application name from the playback URL of the source stream. |
livePullApp**** |
| TranscodeLazy |
string |
No |
Specifies whether to trigger stream pulling when a request for a transcoded stream is made. Default value: no. Valid values:
|
no |
| PullProtocol |
string |
Yes |
The protocol to use for pulling the stream from the source. Valid values:
|
rtmp |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CF8 |
Examples
Success response
JSON format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.