media/library
bachinger f06e8ee736 Make adding ad live breaks more robust
This change makes adding ad events in live streams more robust by allowing ad
groups to grow in number of ads if more ad events are received than initially
announced by the SDK.

With the IMA prefetch feature, an AdPod can grow in size in certain conditions
like from initially 2 ads to 4 ads being part of the ad group. With this change,
if an additional ad event arrives while the ad group is still being played,
the ad group is expanded. If the event arrives late and the ad group is already
completed, a new group is created for the remaining ads.

This also covers the case where we join the live stream while an ad is being
played and we missed at least one LOADED event from the SDK. Ads of the group
before the first LOADED event are ignored in such a case.

PiperOrigin-RevId: 484214760
(cherry picked from commit 136addf640)
2022-10-27 11:10:10 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Add AudioProcessor.AudioFormat equals method. 2022-10-26 16:02:24 +00:00
core Make adding ad live breaks more robust 2022-10-27 11:10:10 +00:00
dash Fix 3 ErrorProneStyle findings: 2022-08-31 08:29:19 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Add GL utility methods to get 4x4 identity and set identity 2022-10-25 14:47:52 +00:00
extractor Fix Cea608Decoder handling of service switch commands in field 2 2022-10-26 11:09:04 +00:00
hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
rtsp Merge pull request #162 from ittiam-systems:rtp-mp4a-latm 2022-10-24 10:55:19 +00:00
smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-07-21 16:24:07 +01:00
transformer Add muxer timer to detect when generating an output sample is too slow 2022-10-27 07:58:56 +00:00
ui Remove ForwardingPlayer special case from PlayerControlView.setPlayer 2022-10-19 10:40:06 +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.