TrackVariantInfo
Represents an Elementary TrackType and it's meta-data
Types
Properties
The bitrate in bits per second. This is the peak bitrate if known, or else the average bitrate if known, or else UNKNOWN_INT_VAL.
The number of audio channels, or UNKNOWN_INT_VAL if unknown or not applicable.
Codecs of the format as described in RFC 6381, or EMPTY_TEXT if unknown or not applicable.
The height of the track variant. Applicable only for video tracks and UNKNOWN_INT_VAL for all other tracks.
The iso3 standard language code for audio/text tracks. This code follows the 3-letter format defined by the ISO 639-2 or ISO 639-3 standard.
Either a valid 2-letter ISO 639-1 language code or a normalized language code mapped to its macro-language equivalent by ExoPlayer (e.g., a 5-letter code). Note: ExoPlayer normalize language codes to ISO 639-2/T or ISO 639-2/B codes (english - en), but certain 3-letter codes are mapped to their broader macro-language equivalents. Example: Chinese (zh) Variants: cmn → zh-cmn hsn → zh-hsn
The sample mime type, or EMPTY_TEXT if unknown or not applicable.
List of roles indicating special characteristics of the track, such as audio description support. Empty list if no special roles.
The audio sampling rate in Hz, or UNKNOWN_INT_VAL if unknown or not applicable.
Type of the Media Track (Audio , Text etc.). @see Type
The width of the track variant. Applicable only for video tracks and UNKNOWN_INT_VAL for all other tracks.