mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +00:00
DefaultTrackSelector now has all logic necessary for selecting an image track. If isPrioritizeImageOverVideoEnabled is set to true, image track will try to be selected first and a video track will only be selected if no image track is available. If isPrioritizeImageOverVideoEnabled is set to false, image track will be selected only if video track wasn't selected. PiperOrigin-RevId: 578806006 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules.txt | ||
| README.md | ||
ExoPlayer module
This module provides ExoPlayer, the Player implementation for local media
playback on Android.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-exoplayer:1.X.X'
where 1.X.X is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.