The `main` role distinguishes a track from an `alternate`, but unlike `SELECTION_FLAG_DEFAULT` it doesn't imply the track should be selected unless user preferences state otherwise. e.g. in the case of a text track, the player shouldn't enable subtitle rendering just because a `main` text track is present in the manifest. The `main`/`alternate` distinction is still available through `Format.roleFlags` and the `ROLE_FLAG_MAIN` and `ROLE_FLAG_ALTERNATE` values. This behaviour was originally [added in 2.2.0](https://github.com/google/ExoPlayer/commit/7f967f305718bc2c9ee679fdd7d014eccef0356b), however at the time the `C.RoleFlags` IntDef did not exist. The IntDef was [added in 2.10.0](https://github.com/google/ExoPlayer/commit/a86a9137be5f0ed89de3d68f4c4800a7753cc881). PiperOrigin-RevId: 418937747
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| ad-responses | Loading commit data... | |
| amr | Loading commit data... | |
| binary | Loading commit data... | |
| bitmap | Loading commit data... | |
| dash | Loading commit data... | |
| download-actions | Loading commit data... | |
| drm | Loading commit data... | |
| dvbsi | Loading commit data... | |
| flac | Loading commit data... | |
| flv | Loading commit data... | |
| id3 | Loading commit data... | |
| jpeg | Loading commit data... | |
| m3u8 | Loading commit data... | |
| mka | Loading commit data... | |
| mkv | Loading commit data... | |
| mp3 | Loading commit data... | |
| mp4 | Loading commit data... | |
| mpd | Loading commit data... | |
| offline | Loading commit data... | |
| ogg | Loading commit data... | |
| rawcc | Loading commit data... | |
| rtsp | Loading commit data... | |
| smooth-streaming | Loading commit data... | |
| ssa | Loading commit data... | |
| subrip | Loading commit data... | |
| ts | Loading commit data... | |
| ttml | Loading commit data... | |
| tx3g | Loading commit data... | |
| vp9 | Loading commit data... | |
| wav | Loading commit data... | |
| webvtt | Loading commit data... |