Menambahkan konfigurasi penundaan aliran.
Deskripsi operasi
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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:CreateLiveDelayConfig |
get |
*Domain
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
ID wilayah. |
cn-shanghai |
| Domain |
string |
Yes |
Domain streaming utama. |
example.com |
| App |
string |
Yes |
AppName dari aliran langsung. Anda dapat menentukan tanda asterisk (*) untuk mencocokkan semua AppName di bawah nama domain. |
liveApp**** |
| Stream |
string |
Yes |
Nama aliran langsung. Anda dapat menggunakan wildcard (*) untuk menentukan semua StreamName di bawah AppName. |
liveStream**** |
| DelayTime |
integer |
Yes |
Durasi penundaan pemutaran. Nilainya harus berupa bilangan bulat. Nilai valid: 16 hingga 3600. Unit: detik. |
60 |
| TaskTriggerMode |
string |
Yes |
Mode pemicu. Nilai valid:
|
PUBLISH_ONLY |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameters | There are invalid parameters: %s. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.