Consulta a configuração de retransmissão de fluxo do centro ao vivo ao chamar DescribeLiveCenterTransfer.
Descrição da operação
O limite de consultas por segundo (QPS) para um único usuário nesta operação é 100. Solicitações que excedem esse limite estão sujeitas a limitação de taxa, o que pode afetar seus negócios. Chame esta operação adequadamente.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
live:DescribeLiveCenterTransfer |
get |
*Domain
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| RegionId |
string |
Não |
O ID da região. |
cn-shanghai |
| DomainName |
string |
Sim |
O domínio de streaming. |
example.com |
| AppName |
string |
Não |
O nome do aplicativo de transmissão ao vivo. O AppName inserido deve corresponder ao AppName da transmissão ao vivo a ser retransmitida para que a configuração tenha efeito. Você pode visualizar o AppName na página Gerenciamento de Streams. |
testapp |
| StreamName |
string |
Não |
O nome da transmissão ao vivo. Você pode visualizar o StreamName na página Gerenciamento de Streams. |
teststream |
| DstUrl |
string |
Não |
A URL de transmissão ao vivo de terceiros para a qual o fluxo é retransmitido. |
rtmp://push.example2.aliyunlive.com/testapp1/teststream2 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| LiveCenterTransferInfoList |
object |
||
| LiveCenterTransferInfo |
array<object> |
A lista de informações de retransmissão de streams ao vivo. |
|
|
object |
A lista de informações de retransmissão de streams ao vivo. |
||
| AppName |
string |
The name of the live stream application. |
teststream |
| DomainName |
string |
The streaming domain. |
example.com |
| DstUrl |
string |
The third-party live streaming URL to which the stream is relayed. |
rtmp://push.example2.aliyunlive.com/testapp1/teststream2 |
| EndTime |
string |
The end time of the stream relay. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC+0. |
2022-04-29T15:16:00Z |
| StartTime |
string |
The start time of the stream relay. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC+0. |
2022-04-28T15:16:00Z |
| StreamName |
string |
The name of the live stream. |
teststream |
| TransferArgs |
string |
The validity period of the stream relay. Valid values:
|
time |
| RequestId |
string |
O ID da solicitação. |
C4865B85-664B-19D3-BB16-C62FB83C8226 |
Exemplos
Resposta de sucesso
JSON formato
{
"LiveCenterTransferInfoList": {
"LiveCenterTransferInfo": [
{
"AppName": "teststream",
"DomainName": "example.com",
"DstUrl": "rtmp://push.example2.aliyunlive.com/testapp1/teststream2",
"EndTime": "2022-04-29T15:16:00Z",
"StartTime": "2022-04-28T15:16:00Z",
"StreamName": "teststream",
"TransferArgs": "time"
}
]
},
"RequestId": "C4865B85-664B-19D3-BB16-C62FB83C8226"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidParam | Parameter invalid. | Illegal input parameters |
| 500 | InternalError | The request processing has failed due to backend service exception. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.