media/libraries
bachinger a1424c834f Set the next live ad in ad group to avoid rebuffering
To avoid the `MediaPeriodQueue`to discard the reading period, we can set the next ad of an ad group early and then (possibly) only change it's duration once we receive the actual duration. This way we avoid a rebuffering as a result of the reading period being discarded.

The change also takes care to properly set ad break and their durations when we join the live stream at the moment when an ad is playing.

PiperOrigin-RevId: 423163467
2022-01-25 19:05:01 +00:00
..
cast Include audio metadata with DefaultMediaItemConverter for Cast 2022-01-25 18:51:57 +00:00
common Set the next live ad in ad group to avoid rebuffering 2022-01-25 19:05:01 +00:00
database Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource Change DefaultHttpDataSourceTest to an instrumentation test 2022-01-05 10:00:46 +00:00
datasource_cronet Update dependency versions 2021-11-19 14:42:25 +00:00
datasource_okhttp Update to androidx.media3 2021-10-27 09:12:46 +01:00
datasource_rtmp Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder Make package in test manifest consistent 2021-11-08 15:18:26 +00:00
decoder_av1 Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
decoder_ffmpeg Add a builder to DefaultAudioSink 2021-12-07 17:37:45 +00:00
decoder_flac Add a builder to DefaultAudioSink 2021-12-07 17:37:45 +00:00
decoder_opus Fix 1 ErrorProneStyle finding: 2022-01-05 12:15:12 +00:00
decoder_vp9 Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
exoplayer Set the next live ad in ad group to avoid rebuffering 2022-01-25 19:05:01 +00:00
exoplayer_dash Inherit parent properties for manifests with dvb profile only 2022-01-25 18:23:20 +00:00
exoplayer_hls Disable live speed adjustment where it has no benefit 2022-01-25 18:04:02 +00:00
exoplayer_ima Add an anchor tag for the IMA compat URL in ImaAdsLoader javadoc 2022-01-25 18:31:42 +00:00
exoplayer_rtsp Use RTSP server for RTSP auth realm. 2022-01-11 13:32:41 +00:00
exoplayer_smoothstreaming Remove setTag from (Ss|Hls|Dash)MediaSource.Factory 2022-01-11 13:44:06 +00:00
exoplayer_workmanager Update to androidx.media3 2021-10-27 09:12:46 +01:00
extractor Parse CryptoInfo from simpleTag and set it into DrmInitData. 2022-01-05 12:15:27 +00:00
session Estimate content position when playWhenReady never has changed 2022-01-25 18:56:14 +00:00
test_data Transformer GL: Add pixel tests for transformation. 2022-01-25 18:43:11 +00:00
test_exoplayer_playback Extend support for audio spatialization in MediaCodecAudioRenderer 2022-01-25 18:59:43 +00:00
test_session_common Fix flaky MediaBrowserListenerTest 2022-01-25 18:34:25 +00:00
test_session_current Fix flaky MediaBrowserListenerTest 2022-01-25 18:34:25 +00:00
test_utils Remove Transformer-specific things from MediaCodecAdapter. 2022-01-25 18:05:31 +00:00
test_utils_robolectric Migrate usages of Window-based Player methods 2021-11-09 10:07:30 +00:00
transformer Communicate sample MIME type changes to FallbackListener. 2022-01-25 19:01:02 +00:00
ui Rename StyledPlayerView to PlayerView 2022-01-25 18:10:42 +00:00
ui_leanback Fixes for some minor misc issues 2021-11-19 14:44:25 +00:00