tencent cloud

Video on Demand

TXTrackInfo

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 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()


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백