Data Structures | |
class | TXTrackInfo |
Track details.
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 |
|
inline |
|
inline |
Get track name
|
inline |
Get track index
|
inline |
Get track type
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
boolean isInternal |
Whether the current track is an internal original track
boolean isSelected |
Whether the current track is selected
String name |
Track name
int trackIndex |
Track index
int trackType = TX_VOD_MEDIA_TRACK_TYPE_UNKNOW |
Track type, you can refer to TX_VOD_MEDIA_TRACK_TYPE_VIDEO, TX_VOD_MEDIA_TRACK_TYPE_AUDIO, TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE,TX_VOD_MEDIA_TRACK_TYPE_UNKNOW
|
static |
Audio track
|
static |
Subtitle track
|
static |
Unknown
|
static |
Video track