Memperbarui langganan ke event relay aliran campuran.
Deskripsi operasi
-
You can call this operation to update a subscription to mixed-stream relay events. You can modify parameters such as the callback URL and channel IDs.
-
Before you call this operation, make sure that you have called the CreateRtcMPUEventSub operation to create the subscription.
QPS limit
You can call this operation up to 50 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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:UpdateRtcMPUEventSub |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. Catatan
ID dapat memiliki panjang hingga 64 karakter dan dapat berisi huruf, digit, garis bawah (_), dan tanda hubung (-). |
yourAppId |
| ChannelIds |
string |
No |
ID saluran tujuan pengiriman callback event relay aliran campuran. Pisahkan beberapa ID saluran dengan koma (,). Catatan
|
yourChannelIds |
| CallbackUrl |
string |
No |
URL callback. Catatan
Anda dapat menggunakan header seperti HTTP dan HTTPS di URL callback. URL dapat memiliki panjang hingga 2.083 karakter dan berisi huruf, digit, serta karakter khusus berikut: - _ ? % = # . / +. |
http://****.com/callback |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
******3B-0E1A-586A-AC29-742247****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "******3B-0E1A-586A-AC29-742247******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | %s. | |
| 400 | InvalidAppId | %s, please check and try again later. | |
| 400 | MissingParam | %s, please check and try again later. | |
| 500 | InternalError | InternalError | |
| 403 | OperationDenied | Your account has not enabled the Live service |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.