You can call the GetMPUTaskStatus to obtain the status of the bypass transfer task.
Usage notes
Before you call this operation, you must have called the StartMpuTask to start the bypass to push task.
QPS limits
The single-user QPS of this operation is limited to 4000 times per minute. If the number of the calls per second exceeds the limit, throttling is triggered. This may affect your business. We recommend that you take note of the limit when you call this operation. For more information, see QPS limit on an API operation in ApsaraVideo Live.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetMPUTaskStatus |
The operation that you want to perform. Set the value to GetMPUTaskStatus. |
AppId | String | Yes | yourAppId |
The ID of the application. Only flyer IDs are supported. |
TaskId | String | Yes | yourTaskId |
The ID of the task. Only Flyer IDs are supported, which are the same as the StartMpuTask input parameter TaskId. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Status | Integer | 0 |
The status ID of the bypass push task.
|
RequestId | String | 760bad53276431c499e30dc36f6b26be |
The ID of the request. |
Examples
Sample requests
https://rtc.aliyuncs.com/?Action=GetMPUTaskStatus
&AppId=yourAppId
&TaskId=yourTaskId
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetMPUTaskStatusResponse>
<RequestId>760bad53276431c499e30dc36f6b26be</RequestId>
<Status>0</Status>
</GetMPUTaskStatusResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "760bad53276431c499e30dc36f6b26be",
"Status" : 0
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidTask.IDError | taskid is invalid | Invalid task with ID error |
404 | InvalidTask.NotFound | no such task | The task does not exist. |
For a list of error codes, visit the API Error Center.