Todos os produtos
Search
Central de documentação

ApsaraVideo Live:DescribeLiveUpVideoAudioInfo

Última atualização: Jun 28, 2026

Consulta os parâmetros de áudio e vídeo de um fluxo de ingestão upstream dentro de um intervalo de tempo especificado.

Descrição da operação

  • O intervalo de tempo máximo para uma consulta é de 24 horas.

  • O intervalo de tempo mínimo para uma consulta é de 1 minuto.

  • Você pode consultar dados dos últimos 31 dias.

Limite de QPS

O limite de consultas por segundo (QPS) para um único usuário é de 10 chamadas por minuto. Se você exceder esse limite, as chamadas de API serão limitadas, o que pode afetar seus negócios. Recomendamos que você chame esta API a uma taxa razoável.

Experimente agora

Experimente esta API no OpenAPI Explorer, sem necessidade de assinatura manual. Chamadas bem-sucedidas geram automaticamente código SDK correspondente aos seus parâmetros. Faça o download com segurança de credenciais integrada para uso local.

Testar

Autorização RAM

A tabela abaixo descreve a autorização necessária para chamar esta API. Você pode defini-la em uma política do Resource Access Management (RAM). As colunas da tabela estão detalhadas abaixo:

  • Ação: As ações que podem ser usadas no elemento Action das instruções de política de permissão do RAM para conceder permissões para executar a operação.

  • API: A API que você pode chamar para executar a ação.

  • Nível de acesso: O nível de acesso predefinido concedido para cada API. Valores válidos: create, list, get, update e delete.

  • Tipo de recurso: O tipo de recurso que suporta autorização para executar a ação. Indica se a ação suporta permissão em nível de recurso. O recurso especificado deve ser compatível com a ação. Caso contrário, a política será ineficaz.

    • Para APIs com permissões em nível de recurso, os tipos de recursos obrigatórios são marcados com um asterisco (*). Especifique o Nome de Recurso Alibaba Cloud (ARN) correspondente no elemento Resource da política.

    • Para APIs sem permissões em nível de recurso, é exibido como Todos os Recursos. Use um asterisco (*) no elemento Resource da política.

  • Chave de condição: As chaves de condição definidas pelo serviço. A chave permite controle granular, aplicando-se somente a ações ou a ações associadas a recursos específicos. Além das chaves de condição específicas do serviço, o Alibaba Cloud fornece um conjunto de chaves de condição comuns aplicáveis a todos os serviços compatíveis com RAM.

  • Ação dependente: As ações dependentes necessárias para executar a ação. Para concluir a ação, o usuário RAM ou a função RAM deve ter permissões para executar todas as ações dependentes.

Ação

Nível de acesso

Tipo de recurso

Chave de condição

Ação dependente

live:DescribeLiveUpVideoAudioInfo

get

*Domain

acs:cdn:*:{#accountId}:domain/{#DomainName}

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

Stream

string

Sim

O nome completo do fluxo a ser consultado. O formato é rtmp://<domínio de ingestão>/<AppName>/<StreamName>

rtmp://example.com/AppName/StreamName

StartTime

string

Não

A hora de início. O formato é `yyyy-MM-ddTHH:mm:ssZ` em UTC.

2015-12-10T15:00:00Z

EndTime

string

Não

A hora de término. O formato é `yyyy-MM-ddTHH:mm:ssZ` em UTC.

2015-12-10T15:10:00Z

Elementos de resposta

Elemento

Tipo

Descrição

Exemplo

object

As informações de áudio e vídeo.

RequestId

string

O ID da solicitação.

BC858082-736F-4A25-867B-E5B67C85ACF7

UpItems

object

PublishItem

array<object>

As informações sobre os fluxos de ingestão.

array<object>

Os detalhes do fluxo de ingestão.

AacHeaders

object

AacHeaders

array<object>

The number of audio Advanced Audio Coding (AAC) headers per second. Unit: count.

object

The audio AAC headers per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

20

AppName

string

The name of the ingest application.

AppName

AudioBitRate

object

AudioBitRate

array<object>

The audio bitrate per second. Unit: bit/s.

object

The audio bitrate per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

24552

AudioFrames

object

AudioFrames

array<object>

The audio frame rate per second. Unit: frames.

object

The audio frame rate per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

23

AudioInterval

object

AudioInterval

array<object>

The maximum audio frame interval per second. Unit: milliseconds.

object

The maximum audio frame interval per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

254

AudioStamps

object

AudioStamps

array<object>

The audio timestamp per second. Unit: milliseconds.

object

The audio timestamp per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

725053422

AvcHeaders

object

AvcHeaders

array<object>

The number of video Advanced Video Coding (AVC) headers per second. Unit: count.

object

The video AVC headers per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

11

CodecInfo

string

The audio and video encoding information.

H264/AAC

DomainName

string

The ingest domain name.

example.com

ErrorFlags

object

ErrorFlags

array<object>

The error code for the stream ingest disconnection.

object

The error code for the stream ingest disconnection.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

0

PublishInterval

string

The duration of the stream ingest in seconds. A hyphen (-) indicates that the stream is ongoing and the duration is not yet available.

-

PublishIp

string

The IP address of the ingest client.

cn397

PublishStatus

string

The status of the stream ingest. `1`: The stream is ongoing. `0`: The stream has ended.

1

PublishTime

string

The start time of the stream ingest in UTC format.

2015-12-10T15:00:00Z

StopTime

string

The end time of the stream ingest in UTC format.

2015-12-10T15:10:00Z

StreamName

string

The name of the stream.

StreamName

UniqueId

string

The unique ID for each stream ingest session.

2.-395_37261_9848098_1538080899396

VideoAndAudioStamp

object

V_AStamp

array<object>

The difference between the video and audio timestamps per second. Unit: milliseconds.

object

The difference between the video and audio timestamps per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

359

VideoBitRate

object

VideoBitRate

array<object>

The video bitrate per second. Unit: bit/s.

object

The video bitrate per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

3970160

VideoFrames

object

VideoFrames

array<object>

The video frame rate per second. Unit: frames.

object

The video frame rate per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

29

VideoInterval

object

VideoInterval

array<object>

The maximum video frame interval per second. Unit: milliseconds.

object

The maximum video frame interval per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

278

VideoStamps

object

VideoStamps

array<object>

The video timestamp per second. Unit: milliseconds.

object

The video timestamp per second.

Time

integer

The query time. This is a UNIX timestamp in milliseconds.

1538134750408

Value

integer

The value of the metric per second at the specified time.

725053781

Se um parâmetro não existir, uma string vazia será retornada.

Exemplos

Resposta de sucesso

JSON formato

{
  "RequestId": "BC858082-736F-4A25-867B-E5B67C85ACF7",
  "UpItems": {
    "PublishItem": [
      {
        "AacHeaders": {
          "AacHeaders": [
            {
              "Time": 1538134750408,
              "Value": 20
            }
          ]
        },
        "AppName": "AppName",
        "AudioBitRate": {
          "AudioBitRate": [
            {
              "Time": 1538134750408,
              "Value": 24552
            }
          ]
        },
        "AudioFrames": {
          "AudioFrames": [
            {
              "Time": 1538134750408,
              "Value": 23
            }
          ]
        },
        "AudioInterval": {
          "AudioInterval": [
            {
              "Time": 1538134750408,
              "Value": 254
            }
          ]
        },
        "AudioStamps": {
          "AudioStamps": [
            {
              "Time": 1538134750408,
              "Value": 725053422
            }
          ]
        },
        "AvcHeaders": {
          "AvcHeaders": [
            {
              "Time": 1538134750408,
              "Value": 11
            }
          ]
        },
        "CodecInfo": "H264/AAC",
        "DomainName": "example.com",
        "ErrorFlags": {
          "ErrorFlags": [
            {
              "Time": 1538134750408,
              "Value": 0
            }
          ]
        },
        "PublishInterval": "-",
        "PublishIp": "cn397",
        "PublishStatus": "1",
        "PublishTime": "2015-12-10T15:00:00Z",
        "StopTime": "2015-12-10T15:10:00Z",
        "StreamName": "StreamName",
        "UniqueId": "2.-395_37261_9848098_1538080899396",
        "VideoAndAudioStamp": {
          "V_AStamp": [
            {
              "Time": 1538134750408,
              "Value": 359
            }
          ]
        },
        "VideoBitRate": {
          "VideoBitRate": [
            {
              "Time": 1538134750408,
              "Value": 3970160
            }
          ]
        },
        "VideoFrames": {
          "VideoFrames": [
            {
              "Time": 1538134750408,
              "Value": 29
            }
          ]
        },
        "VideoInterval": {
          "VideoInterval": [
            {
              "Time": 1538134750408,
              "Value": 278
            }
          ]
        },
        "VideoStamps": {
          "VideoStamps": [
            {
              "Time": 1538134750408,
              "Value": 725053781
            }
          ]
        }
      }
    ]
  }
}

Códigos de erro

Código de status HTTP

Código de erro

Mensagem de erro

Descrição

200 InvalidDuration.ExceedOneDay StartTime and EndTime Duration Exceeds One Day
200 InvalidDuration.StratTimeBiggerEndTime StartTime Bigger Than EndTime
400 InvalidParam Parameter Stream invalid.
400 InvalidStartTime.Malformed Specified StartTime is malformed.
400 InvalidEndTime.Malformed Specified EndTime is malformed.
401 IllegalOperation %s, please check and try again later. Operation not allowed, please check and try again.

Consulte Códigos de Erro para uma lista completa.

Notas de versão

Consulte Notas de Versão para uma lista completa.