media/extensions
bachinger 02e1484ebc Use the public MediaItem in the timeline of CastPlayer
The media item needs to be assigned to `Window.mediaItem` in `CastTimeline.setWindow`. For this the `MediaItem` needs to be available in the timeline.

When a `MediaItem` is passed to the `set/addMediaItems` method, we can't yet know the Cast `MediaQueueItem.itemId` that is generated on the device and arrives with an async update of the `RemoteMediaClient` state. Hence in the `CastTimelineTracker`, we need to store the `MediaItem` by Casts's `MediaItem.contentId`. When we then receive the updated queue, we look the media item up by the content ID to augment the `ItemData` that is available in the `CastTimeline`.

Issue: androidx/media#25
Issue: google/ExoPlayer#8212

#minor-release

PiperOrigin-RevId: 460325235
2022-07-12 15:19:41 +00:00
..
av1 Make sure native library loads use correct class loader 2022-02-17 15:06:12 +00:00
cast Use the public MediaItem in the timeline of CastPlayer 2022-07-12 15:19:41 +00:00
cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 11:06:26 +00:00
ffmpeg Force CMake version 3.21.0+ for the FFMPEG extension 2022-03-15 00:49:09 +00:00
flac Make sure native library loads use correct class loader 2022-02-17 15:06:12 +00:00
ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 17:08:17 +00:00
leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-12 15:08:56 +00:00
media2 Suppress lint errors RestrictedApis in lib-media2 2022-06-15 14:50:11 +00:00
mediasession Fix the position of IntDefs to match TYPE_USE 2022-02-08 12:34:06 +00:00
okhttp Workaround for OkHttp Interrupt issues. 2022-05-05 09:15:06 +01:00
opus Ignore decoding test cases when library not available 2022-05-31 14:46:02 +00:00
rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
vp9 Make sure native library loads use correct class loader 2022-02-17 15:06:12 +00:00
workmanager Reformat some javadoc 2022-02-18 15:02:33 +00:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer extensions

ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.