Queries the number of transcoded streams in real time.
Operation description
The queries per second (QPS) limit for this operation is 10 for each account. API calls that exceed this limit are throttled, which may affect your business. Call this operation only as needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveStreamTranscodeStreamNum |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| DomainName |
string |
Yes |
The streaming domain. |
example.com |
| SplitType |
string |
No |
The group type.
|
template |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| UntranscodeNumber |
integer |
The number of streams that are not transcoded. |
27 |
| LazyTranscodedNumber |
integer |
The number of streams that use lazy transcoding. |
10 |
| TranscodedNumber |
integer |
The number of transcoded streams. |
30 |
| RequestId |
string |
The request ID. |
150191A4-DD88-5941-B48C-9DF59E0A8B1F |
| Total |
integer |
The total number of streams. |
57 |
| TranscodeStreamCountDetails |
array<object> |
The details about the transcoding templates. |
|
|
object |
|||
| Template |
string |
The name of the transcoding template. |
template_name |
| Count |
integer |
The number of streams that use the transcoding template. |
30 |
Examples
Success response
JSON format
{
"UntranscodeNumber": 27,
"LazyTranscodedNumber": 10,
"TranscodedNumber": 30,
"RequestId": "150191A4-DD88-5941-B48C-9DF59E0A8B1F",
"Total": 57,
"TranscodeStreamCountDetails": [
{
"Template": "template_name",
"Count": 30
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s. | Parameter error |
| 500 | InternalError | %s. | error on the live liveapi server. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.