media/libraries
tonihei b2585aad0f Allow externally provided Timeline in SimpleBasePlayer.State
The Timeline, Tracks and MediaMetadata are currently provided
with a list of MediaItemData objects, that are a declarative
version of these classes. This works well for cases where
SimpleBasePlayer is used for external systems or custom players
that don't have a Timeline object available already. However,
this makes it really hard to provide the data if the app already
has a Timeline, currently requiring to convert it back and forth
to a list of MediaItemData.

This change adds an override for `State.Builder.setPlaylist`
that allows to set these 3 objects directly without going
through MediaItemData. The conversion only happens when needed
(e.g. when modifying the playlist).

PiperOrigin-RevId: 649667983
2024-07-05 09:39:49 -07:00
..
cast Formatting fixes and additional plumbin in legacy controller 2024-06-14 17:47:03 +01:00
common Allow externally provided Timeline in SimpleBasePlayer.State 2024-07-05 09:39:49 -07:00
container Parse the H264 bitstream of mp4 files to identify sample dependencies 2024-07-05 06:45:40 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Add FileDescriptorDataSource 2024-07-04 10:24:25 -07:00
datasource_cronet Remove deprecated setContentTypePredicate() methods 2024-05-23 08:32:26 -07:00
datasource_okhttp Remove OkHttpDataSource constructors & OkHttDataSourceFactory 2024-05-23 10:03:12 -07: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 Add missing module registrations 2024-05-23 04:50:01 -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 Mark flaky test as ignored 2024-07-03 08:58:58 -07:00
exoplayer Fix TTML handling of inherited percentage tts:fontSize values 2024-07-05 05:57:54 -07:00
exoplayer_dash Skip 4K export test on Pixel 3a 2024-06-19 01:18:05 -07:00
exoplayer_hls Rename DummyTrackOutput and DummyExtractorOutput 2024-06-25 05:07:56 -07:00
exoplayer_ima Remove Bundleable type & Bundleable.Creator<Foo> CREATOR fields 2024-06-11 08:05:32 -07:00
exoplayer_rtsp Add NAL unit parsing needed for stereo MV-HEVC playback. 2024-06-27 08:39:12 -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 Add support for IAMF audio in MP4 Extractors. 2024-07-05 08:40:18 -07:00
muxer Add support for file format for depth/editing in Mp4Muxer 2024-07-02 09:42:36 -07:00
session Improve automatic error replication for legacy browsers 2024-07-01 09:47:25 -07:00
test_data Add support for IAMF audio in MP4 Extractors. 2024-07-05 08:40:18 -07:00
test_exoplayer_playback Suppress incorrect linter error in DebugRenderersFactory method 2024-05-30 07:05:27 -07:00
test_session_common Improve automatic error replication for legacy browsers 2024-07-01 09:47:25 -07:00
test_session_current Count down three playback states to match the assertion 2024-07-02 01:30:38 -07:00
test_utils Fix TTML handling of inherited percentage tts:fontSize values 2024-07-05 05:57:54 -07:00
test_utils_robolectric Increase h.264 buffer size in ShadowMediaCodecConfig 2024-05-30 03:57:35 -07:00
transformer Remove unused tag 2024-07-04 10:55:15 -07:00
ui Update translations 2024-07-01 09:02:21 -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