
This is a regression test for the bug introduced inbb9ff30c3a
which was manually spotted and fixed in0d2bf49d6a
. Reverting the fix causes this test to fail. This test is a bit hacky because we have to munge the stack trace of the `IllegalStateException` to make it look like it was thrown from inside `MediaCodec`. We deliberately do this 'badly' (e.g. using `fakeMethod`) to avoid a future reader being confused by a fake-but-plausible stack trace. PiperOrigin-RevId: 652820878
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.