LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
TXTrackInfo

Data Structures

class  TXTrackInfo
 

Detailed Description

Track details.


Data Structure Documentation

◆ com::tencent::rtmp::TXTrackInfo

class com::tencent::rtmp::TXTrackInfo

Public Member Functions

int getTrackIndex ()
 
int getTrackType ()
 
String getName ()
 
boolean equals (Object o)
 

Data Fields

int trackType = TX_VOD_MEDIA_TRACK_TYPE_UNKNOW
 
int trackIndex
 
String name
 
boolean isSelected
 
boolean isExclusive
 
boolean isInternal
 

Static Public Attributes

static final int TX_VOD_MEDIA_TRACK_TYPE_UNKNOW = 0
 
static final int TX_VOD_MEDIA_TRACK_TYPE_VIDEO = 1
 
static final int TX_VOD_MEDIA_TRACK_TYPE_AUDIO = 2
 
static final int TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE = 3
 

Member Function Documentation

◆ equals()

boolean equals ( Object  o)
inline

◆ getName()

String getName ( )
inline

Get track name

Returns
Track name

◆ getTrackIndex()

int getTrackIndex ( )
inline

Get track index

Returns

◆ getTrackType()

Field Documentation

◆ isExclusive

boolean isExclusive

If true, only one track of this type can be selected at each moment, if false, multiple tracks of this type can be selected at the same time

◆ isInternal

boolean isInternal

Whether the current track is an internal original track

◆ isSelected

boolean isSelected

Whether the current track is selected

◆ name

String name

Track name

◆ trackIndex

int trackIndex

Track index

◆ trackType

◆ TX_VOD_MEDIA_TRACK_TYPE_AUDIO

final int TX_VOD_MEDIA_TRACK_TYPE_AUDIO = 2
static

Audio track

◆ TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE

final int TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE = 3
static

Subtitle track

◆ TX_VOD_MEDIA_TRACK_TYPE_UNKNOW

final int TX_VOD_MEDIA_TRACK_TYPE_UNKNOW = 0
static

Unknown

◆ TX_VOD_MEDIA_TRACK_TYPE_VIDEO

final int TX_VOD_MEDIA_TRACK_TYPE_VIDEO = 1
static

Video track