mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
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]( |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| README.md | ||
Test data module
Provides sample data for media unit and instrumentation tests.