media/libraries
bachinger cd604e7ead Fix splitting ad playback state for partial ad group when joining
This change addresses the case when the user joins the live stream
on an ad period but the metadata for the ad period is not emitted.
This results in inserting a partial ad group.

In this case the ad group duration is longer than the partial ad
group. If now the partial ad group ends at the period before the
last period of the window (unknown duration), the splitting algorithm
didn't recognize that the ad group already ended and made the last
period wrongly an ad period.

This change handles this edge case by counting the mapped ads in
the partial ad group to detect this situation and stops splitting.

#minor-release

PiperOrigin-RevId: 539102785
2023-06-10 20:23:56 +00:00
..
cast Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
common Return offload unsupported for formats not supported by the sdk level 2023-06-10 20:20:20 +00:00
container Add support for passing custom metadata via transformer 2023-06-09 13:51:15 +00:00
database Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_cronet Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_av1 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_ffmpeg Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_flac Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_midi Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_opus Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder_vp9 Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
effect Add missing empty lines 2023-06-10 20:22:38 +00:00
exoplayer Return offload unsupported for formats not supported by the sdk level 2023-06-10 20:20:20 +00:00
exoplayer_dash Do not reset period uid when DashMediaSource is released 2023-06-09 14:03:22 +00:00
exoplayer_hls Implement logging support for Common Media Client Data (CMCD) 2023-06-09 14:01:25 +00:00
exoplayer_ima Fix splitting ad playback state for partial ad group when joining 2023-06-10 20:23:56 +00:00
exoplayer_rtsp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
exoplayer_smoothstreaming Implement logging support for Common Media Client Data (CMCD) 2023-06-09 14:01:25 +00:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Require the list returned by SubtitleParser to be sorted by timestamp 2023-06-10 20:21:29 +00:00
muxer Enable nullness checker for Muxer module androidTest library 2023-06-08 12:48:03 +00:00
session Add seekPrev and seekNext buttons on the default compact notification 2023-06-09 13:54:13 +00:00
test_data Add support for passing custom metadata via transformer 2023-06-09 13:51:15 +00:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Rollback of 2a6f893fba 2023-06-06 18:06:46 +00:00
test_session_current Allow playback of MediaItems with LocalConfiguration 2023-06-06 18:08:17 +00:00
test_utils Add playback suppression for the attempted playbacks on an unsuitable output. 2023-06-09 13:58:42 +00:00
test_utils_robolectric Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
transformer Add support for passing custom metadata via transformer 2023-06-09 13:51:15 +00:00
ui Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
ui_leanback Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00