
1. For codecs that change timestamps, we need to use greater or equal instead of just equal for comparison. 2. We should only make this comparison once a value has been set. 3. The largest queue timestamp isn't updated before using it for this detection, meaning that we also mark the second-to-last sample as the last one. PiperOrigin-RevId: 550901978
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.