mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

It's currently very difficult to actually set a reason for track selection triggered by a SelectionOverride. It would require creating a new custom TrackSelection.Factory where the reason gets injected somehow before the override is specified on the player. Simplify this whole procedure by allowing to set the reason directly and forward this reason to all fixed selections created based on this override. PiperOrigin-RevId: 240114942
ExoPlayer library
The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.