Queries the event subscription for stream mixing and forwarding.
Operation description
This operation queries the event subscription for stream mixing and forwarding.
Before calling this operation, you must have already called CreateRtcMPUEventSub to create a stream mixing and forwarding event subscription.
QPS limit
The single-user QPS limit for this operation is 50 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeRtcMPUEventSub |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the subscribed application. You can view your application IDs by navigating to ApsaraVideo Live > Live+ > ApsaraVideo Real-time Communication > Application Management. Note
|
yourAppId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| SubInfo |
object |
The event callback information. |
|
| SubId |
string |
The event callback ID. |
Sub-******9799B2C4500****** |
| AppId |
string |
The ID of the subscribed application. |
yourAppId |
| ChannelIds |
string |
The channel IDs of stream mixing tasks that receive callbacks, separated by commas (,). If this field is empty, all channels receive callbacks. |
yourCh1,yourCh2 |
| CreateTime |
string |
The creation time of the event callback, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-04-09 18:00:00Z |
| CallbackUrl |
string |
The callback URL. |
http://testcallback***.com/callback |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"SubInfo": {
"SubId": "Sub-******9799B2C4500******",
"AppId": "yourAppId",
"ChannelIds": "yourCh1,yourCh2",
"CreateTime": "2024-04-09 18:00:00Z",
"CallbackUrl": "http://testcallback***.com/callback"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParam | %s. | Parameter verification failed |
| 400 | InvalidAppId | %s, please check and try again later. | AppId is invalid, please check and try again. |
| 400 | MissingParam | %s, please check and try again later. | Parameter is missing, please check and try again. |
| 500 | InternalError | InternalError | |
| 403 | OperationDenied | Your account has not enabled the Live service | |
| 403 | Forbidden | %s, please check and try again later. | No permission, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.