media/libraries
tonihei dd7fb8178a Handle timeline updates where all periods in window have been replaced
This case is most likely to happen when re-preparing a multi-period
live stream after an error. The live timeline can easily move on to
new periods in the meantime, creating this type of update.

The behavior before this change has two bugs:
 - The player resolves the new start position to a subsequent period
   that existed in the old timeline, or ends playback if that cannot
   be found. The more useful behavior is to restart playback in the
   same live item if it still exists.
-  MaskingMediaSource creates a pending MaskingMediaPeriod using the
   old timeline and then attempts to create the real period from the
   updated source. This fails because MediaSource.createPeriod is
   called with a periodUid that does no longer exist at this point.
   We already have logic to not override the start position and need
   to extend this to also not prepare the real source.

Issue: androidx/media#1329
PiperOrigin-RevId: 634833030
2024-05-17 11:16:12 -07:00
..
cast Forward presumed no-op seeks to handler methods in (Simple)BasePlayer 2024-04-15 02:38:29 -07:00
common Check for .heif extension in File types inference 2024-05-16 08:42:14 -07:00
container Add Mp4OrientationData class 2024-03-11 06:45:15 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
datasource_cronet Fix SocketTimeoutException in CronetDataSource. 2024-04-23 07:21:20 -07:00
datasource_okhttp Use Guava's toByteArray & fromByteArray methods where possible 2024-03-08 03:27:29 -08:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Don't enforce SimpleDecoder skipping for samples before start time 2024-05-01 06:42:36 -07:00
decoder_av1 Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_ffmpeg Replace or suppress deprecated usages 2024-01-26 10:06:18 -08:00
decoder_flac Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_midi Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
decoder_opus Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
decoder_vp9 Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
effect Add debug trace log for AssetLoader Renderer format events. 2024-05-16 11:32:13 -07:00
exoplayer Handle timeline updates where all periods in window have been replaced 2024-05-17 11:16:12 -07:00
exoplayer_dash Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_hls Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_ima Bump IMA dependency to 3.33.0 to fix NPE with data:// URIs 2024-05-09 06:59:53 -07:00
exoplayer_rtsp Remove /* package */ comment from public classes 2024-05-15 05:23:30 -07:00
exoplayer_smoothstreaming Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Clean up unused members in XingFrame 2024-05-17 10:26:49 -07:00
muxer Box: Implement ctts box 2024-05-14 04:32:04 -07:00
session Remove @UnstableApi from package-private files 2024-05-15 02:26:55 -07:00
test_data Fix AV sync for sequences with audio track shorter than video 2024-05-17 06:54:39 -07:00
test_exoplayer_playback Rollback of 8e2869278c 2024-02-15 02:35:12 -08:00
test_session_common Add MediaSession.sendError to send non-fatal error data to controllers 2024-05-14 09:30:18 -07:00
test_session_current Reset platform playback state immediately after sending custom error 2024-05-14 10:18:59 -07:00
test_utils Default to parse subtitles while extracting, instead of while rendering 2024-05-16 01:42:56 -07:00
test_utils_robolectric Add Dumper.addIfNonDefault methods 2024-04-26 09:00:44 -07:00
transformer Fix AV sync for sequences with audio track shorter than video 2024-05-17 06:54:39 -07:00
ui Remove references to LegacyPlayerView 2024-04-09 04:12:42 -07:00
ui_leanback Bump effect and leanback minSdk to 19 2024-01-10 07:22:00 -08:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00