media/library/common/src/main/java/com/google/android/exoplayer2
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
..
audio Re-format some javadoc 2021-04-21 18:46:00 +01:00
decoder Re-format some javadoc 2021-04-21 18:46:00 +01:00
device Move DeviceComponent in ExoPlayer 2021-04-15 10:52:35 +01:00
drm Re-format some javadoc 2021-04-21 18:46:00 +01:00
metadata Change String MediaMetadata.title to CharSequence trackTitle. 2021-04-26 18:29:01 +01:00
offline simplify PlayerActivity towards using the media item only 2020-04-08 21:47:48 +01:00
source Misc ad handling improvements. 2021-04-27 17:42:39 +01:00
text Re-format some javadoc 2021-04-21 18:46:00 +01:00
trackselection Add static TrackSelection type 2021-02-19 10:56:27 +00:00
ui Convergence: Continue decoupling UI from Core 2021-04-09 13:19:07 +01:00
upstream Re-format some javadoc 2021-04-21 18:46:00 +01:00
util Publish ExoPlayer's support for RTSP. 2021-04-27 17:41:38 +01:00
video Re-format some javadoc 2021-04-21 18:46:00 +01:00
BasePlayer.java Add Player.getAvailableCommands() 2021-04-26 18:01:03 +01:00
Bundleable.java Remove nullable utility methods in Bundleable 2021-02-19 10:57:32 +00:00
BundleListRetriever.java Implement Bundleable for Timeline 2021-03-12 10:53:41 +00:00
C.java Publish ExoPlayer's support for RTSP. 2021-04-27 17:41:38 +01:00
ControlDispatcher.java Re-format some javadoc 2021-04-21 18:46:00 +01:00
DefaultControlDispatcher.java Fix conditions to enable UI actions 2021-02-24 15:46:11 +00:00
ExoPlaybackException.java Remove unnecessary @Nullable in exception message 2021-04-09 13:18:22 +01:00
ExoPlayerLibraryInfo.java Re-format some javadoc 2021-04-21 18:46:00 +01:00
Format.java Rollback of 483a350e84 2020-11-24 16:02:45 +00:00
ForwardingPlayer.java Add ForwardingPlayer 2021-04-27 17:41:23 +01:00
IllegalSeekPositionException.java Re-format some javadoc 2021-04-21 18:46:00 +01:00
MediaItem.java Use MediaItem.DEFAULT_MEDIA_ID as default media ID 2021-04-13 14:59:40 +01:00
MediaMetadata.java Change String MediaMetadata.title to CharSequence trackTitle. 2021-04-26 18:29:01 +01:00
package-info.java Split out extractor and common modules 2020-01-24 18:15:19 +00:00
ParserException.java Re-format some javadoc 2021-04-21 18:46:00 +01:00
PlaybackParameters.java Implement Bundleable for PlaybackParameters 2021-03-12 10:37:41 +00:00
PlaybackPreparer.java Make additional modules depend only on common 2021-02-09 13:59:41 +00:00
Player.java Remove release command for symmetry with Player construction 2021-04-27 17:41:06 +01:00
Timeline.java Misc ad handling improvements. 2021-04-27 17:42:39 +01:00