media/libraries
tonihei b321c8d3bd Discard already written sample data for clipped DASH periods
DASH periods can have a duration that is less than the end of the
last chunk in the period. In these cases, the sample data needs to
be clipped to the declared period duration. This already happens
IF the period duration is known at the point where we start loading
the media chunk. However, if the duration becomes known later or is
reduced (e.g. in a live stream), the existing media chunks are not
clipped. This causes unclean transitions across periods where the
player tries to transition to the next period, but renderers struggle
to output all the remaining surplus samples that should have been
clipped.

This can be fixed by asking ChunkSampleStream to discard surplus
samples that were loaded beyond a clipped duration when evaluating
the sample queue between chunk loads.

Issue: androidx/media#1698
PiperOrigin-RevId: 713288221
2025-01-08 07:47:54 -08:00
..
cast Remove @DoNotInline annotations 2024-09-18 04:47:39 -07:00
common Add number of temporal layers to Format 2025-01-08 04:50:45 -08:00
common_ktx Add jvmTarget and kotlin-android plugin to common_ktx module 2024-08-15 10:36:10 -07:00
container Read sample dependencies for H.265 in MP4 2025-01-08 04:55:31 -08:00
database Enable lint errors in database tests 2024-12-04 03:55:33 -08:00
datasource Enable lint errors in datasource tests 2024-12-03 10:07:19 -08:00
datasource_cronet DataSourceContractTest: Tighten assertions around 'not found' URIs 2024-10-24 03:49:27 -07:00
datasource_okhttp DataSourceContractTest: Tighten assertions around 'not found' URIs 2024-10-24 03:49:27 -07:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder MediaCodecVideoRenderer skips decoder inputs unused as reference 2024-07-09 03:43:06 -07:00
decoder_av1 Add missing DefaultRenderersFactoryTest for decoder extensions 2024-10-30 05:33:38 -07:00
decoder_ffmpeg Add 16 KB page support for decoder extensions on Android 15 2024-10-10 10:18:20 -07:00
decoder_flac Set container MIME type for audio-only extractors 2024-11-14 10:03:17 -08:00
decoder_iamf Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
decoder_midi Use ForwardingTrackOutput in MidiExtractor 2024-12-03 07:14:58 -08:00
decoder_mpegh Merge Issue: androidx/media#1826: add extension for MPEG-H decoding 2024-10-24 09:53:45 -07:00
decoder_opus Removed empty line 2024-12-11 14:47:04 +00:00
decoder_vp9 Add 16 KB page support for decoder extensions on Android 15 2024-10-10 10:18:20 -07:00
effect Remove stale Javadoc 2025-01-08 05:16:01 -08:00
exoplayer Discard already written sample data for clipped DASH periods 2025-01-08 07:47:54 -08:00
exoplayer_dash Discard already written sample data for clipped DASH periods 2025-01-08 07:47:54 -08:00
exoplayer_hls Merge pull request #1785 from DolbyLaboratories:dlb/dovi-supplemental-codecs/dev 2025-01-07 04:58:21 -08:00
exoplayer_ima Add client side post roll placeholder 2024-12-17 09:59:16 -08:00
exoplayer_rtsp Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
exoplayer_smoothstreaming Refactor CmcdData to handle object type determination internally 2024-12-12 04:36:16 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Read sample dependencies for H.265 in MP4 2025-01-08 04:55:31 -08:00
muxer Remove TrackToken and replace with int trackId 2025-01-07 10:16:31 -08:00
session Do not override pending info when masking 2025-01-07 08:26:19 -08:00
test_data Read sample dependencies for H.265 in MP4 2025-01-08 04:55:31 -08:00
test_exoplayer_playback Enable lint errors in tests for remaining playback modules 2024-12-04 08:08:01 -08:00
test_session_common Add media button preferences 2024-10-17 09:54:36 -07:00
test_session_current Do not override pending info when masking 2025-01-07 08:26:19 -08:00
test_utils Add number of temporal layers to Format 2025-01-08 04:50:45 -08:00
test_utils_robolectric Add TestPlayerRunHelper run(player).untilFullyBuffered 2024-11-06 02:45:51 -08:00
transformer CompositionPlayerSeekTest: don't hide exception while waiting on latch 2025-01-08 07:10:09 -08:00
ui Change lib-common dependency scope to api in lib-ui 2024-11-06 08:21:16 -08:00
ui_compose [ui-compose] Fix PlayerSurface's use of Player 2025-01-08 06:07:14 -08:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Enable lint in lib-common tests 2024-11-04 04:16:39 -08:00