GetLiveTranscodeJob
Retrieves a single live transcoding job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetLiveTranscodeJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The ID of the transcoding job. |
****20b48fb04483915d4f2cd8ac**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| Job |
object |
The transcoding job information. |
|
| Name |
string |
The name of the transcoding job. |
task1 |
| JobId |
string |
The ID of the transcoding job. |
****20b48fb04483915d4f2cd8ac**** |
| TemplateType |
string |
The templatetype. |
normal |
| TemplateId |
string |
The template ID. |
b6491d5b3e514b7d895d14b5453ea119 |
| TemplateName |
string |
The name of the template. |
basic |
| StartMode |
integer |
The start mode. |
0 |
| Status |
integer |
The job status. Valid values:
|
1 |
| StreamInput |
object |
The input stream information. |
|
| Type |
string |
The input stream type. |
rtmp |
| InputUrl |
string |
The input stream URL. |
rtmp://mydomain/app/stream1 |
| OutputStream |
object |
The output stream information. |
|
| StreamInfos |
array<object> |
The output stream information. |
|
|
object |
|||
| Type |
string |
The output stream protocol type. Currently, only the RTMP protocol is supported. |
rtmp |
| OutputUrl |
string |
The output stream URL. |
rtmp://mydomain/app/mytranscode1 |
| CreateTime |
string |
The creation time. The time is in ISO 8601 format and uses UTC (ending with Z). |
2022-07-20T02:48:58Z |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"Job": {
"Name": "task1",
"JobId": "****20b48fb04483915d4f2cd8ac****",
"TemplateType": "normal",
"TemplateId": "b6491d5b3e514b7d895d14b5453ea119",
"TemplateName": "basic",
"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
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.