Queries information about a subscription to mixed-stream relay events.
Operation description
Usage notes
-
You can call this operation to query information about a subscription to mixed-stream relay events.
-
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. For more information, see QPS limits.
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 your application. Note
The ID can be up to 64 characters in length and can contain letters, digits, underscores, and hyphens (-). |
yourAppId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| SubInfo |
object |
The information about the subscription. |
|
| SubId |
string |
The ID of the subscription. |
Sub-******9799B2C4500****** |
| AppId |
string |
The application ID. You can specify only one application ID. |
yourAppId |
| ChannelIds |
string |
The ID of the channel to which mixed-stream relay event callbacks are sent. Multiple channel IDs are separated by commas (,). If this parameter is not returned, mixed-stream relay event callbacks are sent to all channels. |
yourCh1,yourCh2 |
| CreateTime |
string |
The time when the event callback was fired. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in 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.