tencent cloud

Video on Demand

Agreements
Service Level Agreement
Política VOD
Política de privacidade
Contrato de segurança e processamento de dados
DocumentaçãoVideo on Demand

TXTrackInfo

Modo Foco
Tamanho da Fonte
Última atualização: 2025-05-30 15:09:27

TXTrackInfo Overview

Detailed information of the track played by the on-demand player.

API Detail

Parameter Name
Type
Description
trackIndex
int
Track index.
trackType
int
track type. Valid values:
TXTrackInfo#TX_VOD_MEDIA_TRACK_TYPE_VIDEO: Video track.
TXTrackInfo#TX_VOD_MEDIA_TRACK_TYPE_AUDIO: Audio track.
TXTrackInfo#TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE: Subtitle track.
name
String
Track name.
isSelected
boolean
Whether the current track is selected.
isExclusive
boolean
If it is true, only one track of this type can be selected at any given moment. If it is false, multiple tracks of this type can be selected simultaneously.
isInternal
boolean
Whether the current track is an internal primitive track.

getTrackIndex

Retrieve the track index.
public int getTrackIndex()

getTrackType

Retrieve the track type.
public int getTrackType()

getName

Retrieve the track name.
public int getName()


Ajuda e Suporte

Esta página foi útil?

comentários