Value | Parameter Name | Description |
0 | TX_VOD_MEDIA_TRACK_TYPE_UNKNOW | unknown type. |
1 | TX_VOD_MEDIA_TRACK_TYPE_VIDEO | video track. |
2 | TX_VOD_MEDIA_TRACK_TYPE_AUDIO | audio track. |
3 | TX_VOD_MEDIA_TRACK_TYPE_SUBTITLE | subtitle track. |
Parameter Name | Type | Description |
int | Track index. | |
TX_VOD_MEDIA_TRACK_TYPE | track type. | |
NSString | Track name. | |
bool | Whether the current track is selected. | |
bool | If YES, only one track of this type can be selected at any given moment. If NO, multiple tracks of this type can be selected simultaneously. | |
bool | Whether the current track is an internal primitive track. | |
int | Retrieve track index. | |
TX_VOD_MEDIA_TRACK_TYPE | Retrieve track type. | |
NSString | Retrieve track name. | |
bool | Whether the tracks are the same. |
@property(nonatomic, assign) TX_VOD_MEDIA_TRACK_TYPE trackType;
@property(nonatomic, assign) int trackIndex;
@property(nonatomic, copy) NSString *name;
@property(nonatomic, assign) bool isSelected;
@property(nonatomic, assign) bool isExclusive;
@property(nonatomic, assign) bool isInternal;
- (int)getTrackIndex;
- (TX_VOD_MEDIA_TRACK_TYPE)getTrackType;
Type | Description |
Track type. |
- (NSString *)getTrackName;
- (bool)isEqual:(TXTrackInfo *)trackInfo;
Feedback