media/library
bachinger 5bf123165f Avoid rebuffering at the end of SSAI post-rolls
When the start position of a MediaPeriodInfo is equal or higher than the duration,
we set the start position to `duration - 1` to end on the last frame. With server
side inserted ad streams, this has the effect that we actually need to seek back to
the last content frame after a post-roll.

This is desirable when actually ending on that frame but produces a BUFFERING event
when transitioning from an SSAI stream with a post-roll to the next media item in
the playlist. This change sets the start position to the duration when we are
clipping the last content period of an SSAI stream that is played in a playlist.

PiperOrigin-RevId: 433445680
2022-03-09 12:22:02 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common TrackSelectionOverride: Remove select-all-tracks constructor 2022-03-03 12:27:28 +00:00
core Avoid rebuffering at the end of SSAI post-rolls 2022-03-09 12:22:02 +00:00
dash Reformat some javadoc 2022-02-18 15:02:33 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Reformat some javadoc 2022-02-18 15:02:33 +00:00
decoder Reformat some javadoc 2022-02-18 15:02:33 +00:00
extractor FMP4: Fix output of mixed v0 and v1 emsg samples 2022-03-01 09:46:31 +00:00
hls Reformat some javadoc 2022-02-18 15:02:33 +00:00
rtsp Merge pull request #36 from ittiam-systems:rtp-h265 2022-02-18 16:46:09 +00:00
smoothstreaming Reformat some javadoc 2022-02-18 15:02:33 +00:00
transformer Use background thread for FrameEditor's OpenGL calls. 2022-03-09 15:37:30 +00:00
ui Rollback of 20282151b5 2022-03-09 15:34:01 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +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.