Memanggil GetLiveTranscodeJob untuk mengkueri satu tugas transcoding real-time.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetLiveTranscodeJob |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
ID tugas transcoding. |
****20b48fb04483915d4f2cd8ac**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. |
******3B-0E1A-586A-AC29-742247****** |
| Job |
object |
Informasi tentang tugas transcoding. |
|
| Name |
string |
Nama tugas transcoding. |
task1 |
| JobId |
string |
ID tugas transcoding. |
****20b48fb04483915d4f2cd8ac**** |
| TemplateType |
string |
Tipe templat. |
normal |
| TemplateId |
string |
ID templat. |
b6491d5b3e514b7d895d14b5453ea119 |
| TemplateName |
string |
Nama templat. |
basic |
| StartMode |
integer |
Mode mulai. |
0 |
| Status |
integer |
Status tugas.
|
1 |
| StreamInput |
object |
Informasi aliran input. |
|
| Type |
string |
The type of the input stream. |
rtmp |
| InputUrl |
string |
The URL of the input stream. |
rtmp://mydomain/app/stream1 |
| OutputStream |
object |
Informasi aliran output. |
|
| StreamInfos |
array<object> |
The information about the output stream. |
|
|
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 |
Waktu ketika tugas dibuat. |
2022-07-20T02:48:58Z |
Contoh
Respons sukses
JSONformat
{
"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"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Forbidden | %s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.