media/testutils
tonihei c9245c61de Fix order of timeline and prepare callback in MaskingMediaSoure
Once we receive an update from a masked source, we first start the
preparation of an already pending period, and only then notify the
player of the new timeline. If the period prepares immediately inline,
the MediaPeriod.onPrepared callback arrives before the
onPlaylistUpdateRequested call in the Player. THis is the wrong order
and causes issues when the player tries to lookup information in the
timeline that doesn't exist yet.

This change fixes preroll playbacks before live streams.

PiperOrigin-RevId: 293340031
2020-02-11 17:08:07 +00:00
..
src Fix order of timeline and prepare callback in MaskingMediaSoure 2020-02-11 17:08:07 +00:00
build.gradle Fix nullability issues for testutil.truth 2020-01-16 13:50:53 +00:00
README.md Publish test utils modules as release artificats. 2019-09-05 10:43:52 +01:00

ExoPlayer test utils

Provides utility classes for ExoPlayer unit and instrumentation tests.

  • Javadoc: Classes matching com.google.android.exoplayer2.testutil belong to this module.