Queries a list of live stream transcoding jobs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListLiveTranscodeJobs |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of the template used by the transcoding job.
|
normal |
| StartMode |
integer |
No |
The start mode of the transcoding job.
Valid values:
|
0 |
| Status |
integer |
No |
The state of the job. 0: The job is not started. 1: The job is in progress. 2: The job is stopped. Valid values:
|
1 |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
20 |
| SortBy |
string |
No |
The sorting order. By default, the query results are sorted by creation time in descending order. Valid values:
|
asc |
| KeyWord |
string |
No |
The search keyword. You can use the job ID or name as the keyword to search for jobs. If you search for jobs by name, fuzzy match is supported. |
24ecbb5c-4f98-4194-9400-f17102e27fc5 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| JobList |
array<object> |
The list of transcoding jobs. |
|
|
array<object> |
|||
| Name |
string |
The name of the transcoding job. |
mytask |
| JobId |
string |
The job ID. |
****a046-263c-3560-978a-fb287782**** |
| TemplateType |
string |
The type of the transcoding template used by the transcoding job. |
normal |
| TemplateId |
string |
The ID of the transcoding template used by the transcoding job. |
****a046-263c-3560-978a-fb287666**** |
| TemplateName |
string |
The template name. |
Template 1 |
| StartMode |
integer |
The start mode of the job. |
0 |
| Status |
integer |
The state of the job. |
1 |
| StreamInput |
object |
The information about the input stream. |
|
| Type |
string |
The type of the input stream. |
rtmp |
| InputUrl |
string |
The URL of the input stream. |
rtmp://mydomain/app/stream1 |
| OutputStream |
object |
The information about the output stream. |
|
| StreamInfos |
array<object> |
The list of stream URLs. |
|
|
object |
|||
| Type |
string |
The type of the output stream protocol. Only the RTMP protocol is supported. |
rtmp |
| OutputUrl |
string |
The URL of the output stream. |
rtmp://mydomain/app/mytranscode1 |
| CreateTime |
string |
The time when the job was created. |
2022-07-20T02:48:58Z |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"TotalCount": 100,
"JobList": [
{
"Name": "mytask",
"JobId": "****a046-263c-3560-978a-fb287782****",
"TemplateType": "normal",
"TemplateId": "****a046-263c-3560-978a-fb287666****",
"TemplateName": "模板1",
"StartMode": 0,
"Status": 1,
"StreamInput": {
"Type": "rtmp",
"InputUrl": "rtmp://mydomain/app/stream1"
},
"OutputStream": {
"StreamInfos": [
{
"Type": "rtmp",
"OutputUrl": "rtmp://mydomain/app/mytranscode1"
}
]
},
"CreateTime": "2022-07-20T02:48:58Z"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.