media/library
tonihei 26a6aad3e4 Misc ad handling improvements.
1. Clarify intention of getAdGroupIndexForPositionUs and
   getAdGroupIndexAfterPositionUs. Both methods are used for very
   specific but different purposes and encode the logic of which
   ads should be played at which time, so it's helpful to clarify
   this in the documentation as well.
2. Change one usage getAdGroupIndexForPositionUs to use the already
   existing nextAdGroupIndex. This is also more in line with the
   intended usage as clarified in step 1.
3. Update MediaPeriodQueueTest for updateQueuedPeriods to only
   look for duration changes in future periods, not in the
   current one, because that's not handled MediaPeriodQueue for ads
   and the test is just passing by chance now. Also remove wrong
   advancePlaying() calls that are already implicitly included in
   the preceding enqueueNext() call.
4. Fix a minor bug where post-roll ads are not checked whether they
   are played already before using them as the next ad group. Also
   added a test covering this case.

#minor-release

PiperOrigin-RevId: 370664131
2021-04-27 17:42:39 +01:00
..
all Add Transformer "Getting started" page 2021-02-03 15:03:16 +00:00
common Misc ad handling improvements. 2021-04-27 17:42:39 +01:00
core Misc ad handling improvements. 2021-04-27 17:42:39 +01:00
dash Fix 1 ErrorProneStyle finding: 2021-04-26 18:01:38 +01:00
extractor Re-format some javadoc 2021-04-21 18:46:00 +01:00
hls Re-format some javadoc 2021-04-21 18:46:00 +01:00
rtsp Relax session timing requirement. 2021-04-27 17:42:23 +01:00
smoothstreaming Re-format some javadoc 2021-04-21 18:46:00 +01:00
transformer Adds Format to MediaCodecAdapter.Configuration. 2021-04-21 09:48:46 +01:00
ui Re-format some javadoc 2021-04-21 18:46:00 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.