media/extensions
bachinger aa467f52e4 Make sure CastPlayer calls onIsPlaying if required
Before this change we checked whether the playback state and playWhenReady have changed when the state from the cast device arrived. If we detected such a change we called the listener callback `onIsPlayingChanged`. However, in the case when `setPlayWhenReady(boolean)` is called on 'CastPlayer', we mask the change in `playWhenReady`, then send the play/pause request to the cast device and when the state from the cast device arrives we never detect a change because we have already masked `playWhenReady`.

This change now moves the check for `isPlaying` to the same place where the state and playWhenReady is updated, so we call the `onIsPlayingChanged` callback in either case, when masking or when a changed state from the server arrives.

Issue: google/ExoPlayer#9792
PiperOrigin-RevId: 418483509
2022-01-04 14:00:44 +00:00
..
av1 Tidy READMEs 2021-10-26 14:08:21 +01:00
cast Make sure CastPlayer calls onIsPlaying if required 2022-01-04 14:00:44 +00:00
cronet Update dependency versions 2021-11-15 10:53:47 +00:00
ffmpeg Add a builder to DefaultAudioSink 2021-12-08 10:01:38 +00:00
flac Add a builder to DefaultAudioSink 2021-12-08 10:01:38 +00:00
ima Add MediaSource.Factory and deprecate MediaSourceFactory 2022-01-04 12:51:47 +00:00
leanback Fixes for some minor misc issues 2021-11-15 10:58:32 +00:00
media2 Migrate usages of deprecated MediaItem symbols 2021-11-08 09:48:45 +00:00
mediasession Make mapping of STATE_IDLE configurable 2021-12-06 12:51:04 +00:00
okhttp Tidy READMEs 2021-10-26 14:08:21 +01:00
opus Make package in test manifest consistent 2021-10-29 11:35:26 +01:00
rtmp Make package in test manifest consistent 2021-10-29 11:35:26 +01:00
vp9 Make package in test manifest consistent 2021-10-29 11:35:26 +01:00
workmanager Tidy READMEs 2021-10-26 14:08:21 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer extensions

ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.