Consulta as informações sobre um trabalho de edição ao vivo. As informações solicitadas incluem o status, a linha do tempo e o modelo do trabalho, o ID e a URL do arquivo de saída e as configurações do trabalho. Consulte apenas trabalhos de edição ao vivo criados no último ano.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
ice:GetLiveEditingJob |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| JobId |
string |
Não |
O ID do trabalho de edição ao vivo. |
****d80e4e4044975745c14b**** |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
Os parâmetros de resposta. |
||
| RequestId |
string |
O ID da solicitação. |
****36-3C1E-4417-BDB2-1E034F**** |
| LiveEditingJob |
object |
As informações sobre o trabalho de edição ao vivo. |
|
| JobId |
string |
O ID do trabalho de edição ao vivo. |
****cdb3e74639973036bc84**** |
| ProjectId |
string |
O ID do projeto de edição ao vivo. |
****fddd7748b58bf1d47e95**** |
| Status |
string |
O status do trabalho de edição ao vivo. Valores válidos: Init, Queuing, Processing, Success e Failed. |
Success |
| Clips |
string |
Os clipes. |
[{\"StartTime\": \" 2021-06-21T08:01:00Z\", \"EndTime\": \" 2021-06-21T08:03:00Z\" }] |
| UserData |
string |
Os dados definidos pelo usuário. |
{"key": "value'} |
| CreationTime |
string |
A hora em que o trabalho de edição ao vivo foi criado. A hora segue o padrão ISO 8601 no formato yyyy-MM-ddTHH:mm:ssZ. A hora é exibida em UTC. |
2020-12-23T13:33:40Z |
| ModifiedTime |
string |
A hora em que o trabalho de edição ao vivo foi modificado pela última vez. A hora segue o padrão ISO 8601 no formato yyyy-MM-ddTHH:mm:ssZ. A hora é exibida em UTC. |
2020-12-23T13:33:49Z |
| CompleteTime |
string |
A hora em que o trabalho de edição ao vivo foi concluído. A hora segue o padrão ISO 8601 no formato yyyy-MM-ddTHH:mm:ssZ. A hora é exibida em UTC. |
2020-12-23T13:33:52Z |
| MediaId |
string |
O ID do recurso de mídia do arquivo de saída. |
****0cc6ba49eab379332c5b**** |
| MediaURL |
string |
A URL do arquivo de saída. |
http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4 |
| Code |
string |
O código de resposta. Nota: Preste atenção a este parâmetro se o trabalho falhar. |
InvalidParameter |
| Message |
string |
A mensagem retornada. Nota: Preste atenção a este parâmetro se o trabalho falhar. |
The specific parameter LiveStreamConfig is not valid. |
| LiveStreamConfig |
object |
As configurações de edição ao vivo. |
|
| AppName |
string |
The name of the application to which the live stream belongs. |
app |
| DomainName |
string |
The domain name of the live stream. |
domain.com |
| StreamName |
string |
The name of the live stream. |
streamName |
| MediaProduceConfig |
object |
As configurações de produção. |
|
| Mode |
string |
The editing mode. Default value: Accurate. |
Accurate |
| OutputMediaConfig |
object |
As configurações de armazenamento do arquivo de saída. |
|
| MediaURL |
string |
The URL of the output file. |
https://testice-testbucket.oss-cn-shanghai.aliyuncs.com/test.mp4 |
| StorageLocation |
string |
If OutputMediaTarget is set to vod-media, this parameter indicates the storage location of the media asset in ApsaraVideo VOD. The storage location is the path of the file in ApsaraVideo VOD, excluding the prefix http://. Example: outin-xxxxxx.oss-cn-shanghai.aliyuncs.com. |
outin-xxxxxx.oss-cn-shanghai.aliyuncs.com |
| FileName |
string |
If OutputMediaTarget is set to vod-media, this parameter indicates the file name of the output file. The value contains the file name extension but not the path. |
test.mp4 |
| Width |
integer |
The width of the output file. You can leave this parameter empty. The default value is the maximum width of the input materials. |
640 |
| Height |
integer |
The height of the output file. You can leave this parameter empty. The default value is the maximum height of the input materials. |
480 |
| Bitrate |
integer |
The bitrate of the output file. Unit: Kbit/s. You can leave this parameter empty. The default value is the maximum bitrate of the input materials. |
1000 |
| VodTemplateGroupId |
string |
The ID of the VOD transcoding template group. If VOD transcoding is not required, set the value to VOD_NO_TRANSCODE. |
VOD_NO_TRANSCODE |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "****36-3C1E-4417-BDB2-1E034F****",
"LiveEditingJob": {
"JobId": "****cdb3e74639973036bc84****",
"ProjectId": "****fddd7748b58bf1d47e95****",
"Status": "Success",
"Clips": "[{\\\"StartTime\\\": \\\" 2021-06-21T08:01:00Z\\\", \\\"EndTime\\\": \\\" 2021-06-21T08:03:00Z\\\" }]",
"UserData": "{\"key\": \"value'}",
"CreationTime": "2020-12-23T13:33:40Z",
"ModifiedTime": "2020-12-23T13:33:49Z",
"CompleteTime": "2020-12-23T13:33:52Z",
"MediaId": "****0cc6ba49eab379332c5b****",
"MediaURL": "http://example-bucket.oss-cn-shanghai.aliyuncs.com/example2.mp4",
"Code": "InvalidParameter",
"Message": "The specific parameter LiveStreamConfig is not valid.",
"LiveStreamConfig": {
"AppName": "app",
"DomainName": "domain.com",
"StreamName": "streamName"
},
"MediaProduceConfig": {
"Mode": "Accurate"
},
"OutputMediaConfig": {
"MediaURL": "https://testice-testbucket.oss-cn-shanghai.aliyuncs.com/test.mp4",
"StorageLocation": "outin-xxxxxx.oss-cn-shanghai.aliyuncs.com",
"FileName": "test.mp4",
"Width": 640,
"Height": 480,
"Bitrate": 1000,
"VodTemplateGroupId": "VOD_NO_TRANSCODE"
}
}
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.