Queries the number of transcoding streams in real time by calling DescribeLiveStreamTranscodeStreamNum.
Operation description
The QPS limit for a single user on this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
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 grouping type. Valid values:
Valid values:
|
template |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| UntranscodeNumber |
integer |
The number of streams that are not transcoded. |
27 |
| LazyTranscodedNumber |
integer |
The number of streams that triggered 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 transcoding streams. |
57 |
| TranscodeStreamCountDetails |
array<object> |
The transcoding template data. |
|
|
object |
|||
| Template |
string |
The name of the transcoding template. |
template_name |
| Count |
integer |
The number of streams for 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.