Mengonfigurasi penarikan aliran berbasis Pemicu.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:SetLiveLazyPullStreamInfoConfig |
update |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| DomainName |
string |
Yes |
Nama domain streaming. |
example.com |
| AppName |
string |
Yes |
Nama aplikasi. Catatan
Untuk memicu pengambilan asal untuk semua aplikasi, atur parameter ini ke ali_all_app. |
ali_all_app |
| PullDomainName |
string |
Yes |
Server asal yang menghosting aliran langsung. Untuk menentukan beberapa server asal, pisahkan dengan titik koma (;). |
guide.aliyundoc.com |
| PullAppName |
string |
No |
Nama aplikasi sumber. Catatan
Kosongkan parameter ini untuk menggunakan nama aplikasi dari URL pemutaran aliran sumber. |
livePullApp**** |
| TranscodeLazy |
string |
No |
Apakah akan memicu penarikan aliran ketika permintaan untuk aliran yang telah dikodekan ulang dibuat (Pemicu). Nilai default: no. Nilai valid:
|
no |
| PullProtocol |
string |
Yes |
Protokol yang digunakan untuk menarik aliran dari sumber. Nilai valid:
|
rtmp |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CF8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.