All Products
Search
Document Center

ApsaraVideo Live:DescribeRtcMPUEventSub

Last Updated:Dec 05, 2024

Queries the 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.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdstringYes

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 parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

******3B-0E1A-586A-AC29-742247******
SubInfoobject

The information about the subscription.

SubIdstring

The ID of the subscription.

Sub-******9799B2C4500******
AppIdstring

The application ID. You can specify only one application ID.

yourAppId
ChannelIdsstring

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
CreateTimestring

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
CallbackUrlstring

The callback URL.

http://testcallback***.com/callback

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError message
400InvalidParam%s
400InvalidAppId%s
403OperationDeniedYour account has not enabled the Live service
403Forbidden%s
404MissingParam%s
500InternalErrorInternalError

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-04The Error code has changedView Change Details