media/extensions
andrewlewis eb9de7a120 Fix postroll content complete notifications
On reaching the end of the content we would notify content complete
and skip unplayed ads, causing a timeline change. That timeline change
was handled in a way that caused a further timeline change in the
2.11.6 release, where we don't yet deduplicate no-op Timeline changes,
causing repeated timeline changes indefinitely.

At tip-of-tree, the timeline wouldn't refresh repeatedly. However the
code for sending content complete at the point of transitioning to
play a preloaded postroll ad was not correct in that it didn't mark
previous ads as skipped. Instead they happened to be marked as
skipped later on due to the timeline change handling content
completion code triggering again.

Fix this by only marking ads as skipped when content completes once,
to avoid the duplicate timeline change, and moving the skipped ad
marking so it happens in the same place as notifying content complete.

PiperOrigin-RevId: 318454908
2020-06-26 13:46:53 +01:00
..
av1 Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
cast Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
cronet Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
ffmpeg Propagate format in supportsOutput 2020-06-26 11:23:19 +01:00
flac Propagate format in supportsOutput 2020-06-26 11:23:19 +01:00
gvr Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
ima Fix postroll content complete notifications 2020-06-26 13:46:53 +01:00
jobdispatcher Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
leanback Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
mediasession Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
okhttp Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
opus Propagate format in supportsOutput 2020-06-26 11:23:19 +01:00
rtmp Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
vp9 Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
workmanager Move common gradle setup to a setting file. 2020-06-26 11:13:25 +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.