Queries the number of transcoded streams in real time.
QPS limit
You can call this operation up to 10 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
Request parameters
Parameter |
Type |
Required |
Example |
Description |
Action | String | Yes | DescribeLiveStreamTranscodeStreamNum | The operation that you want to perform. Set the value to DescribeLiveStreamTranscodeStreamNum. |
DomainName | String | Yes | example.com | The streaming domain. |
Response parameters
Parameter |
Type |
Example |
Description |
UntranscodeNumber | Long | 27 | The number of streams that are not transcoded. |
LazyTranscodedNumber | Long | 10 | The number of streams for which transcoding is triggered by stream pulling. |
TranscodedNumber | Long | 30 | The number of streams that are transcoded. |
RequestId | String | 150191A4-DD88-5941-B48C-9DF59E0A8B1F | The request ID. |
Total | Long | 57 | The total number of streams. |
Examples
Sample requests
http(s)://live.aliyuncs.com/?Action=DescribeLiveStreamTranscodeStreamNum
&DomainName=example.com
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeLiveStreamTranscodeStreamNumResponse>
<UntranscodeNumber>27</UntranscodeNumber>
<LazyTranscodedNumber>10</LazyTranscodedNumber>
<TranscodedNumber>30</TranscodedNumber>
<RequestId>150191A4-DD88-5941-B48C-9DF59E0A8B1F</RequestId>
<Total>57</Total>
</DescribeLiveStreamTranscodeStreamNumResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"UntranscodeNumber" : 27,
"LazyTranscodedNumber" : 10,
"TranscodedNumber" : 30,
"RequestId" : "150191A4-DD88-5941-B48C-9DF59E0A8B1F",
"Total" : 57
}
Error codes
For a list of error codes, see Service error codes.