media/libraries
tonihei 3b2b8d528d Ensure TrackSelectionParameters overrides match existing groups
The overrides specified by a MediaController may not use the exact
same TrackGroup instances as known to the Player because the groups
have been bundled to and from the controller. This bundling may
alter the instance slightly depending on the version used on each
side of the communication and the fields set (e.g. Format.metadata
is not supported for bundling).

This issue can be solved by creating unique track group ids for
each group on the session side before bundling. On the way back,
the groups in the track selection parameters can be mapped backed
to their original instances based on this id.

Issue: androidx/media#296
PiperOrigin-RevId: 523986626
(cherry picked from commit 1c557e2fd1)
2023-04-18 15:17:40 +01:00
..
cast Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
common Ensure TrackSelectionParameters overrides match existing groups 2023-04-18 15:17:40 +01:00
database Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
datasource Remove remaining references to exoplayer.dev 2023-04-18 14:56:45 +01:00
datasource_cronet Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
datasource_okhttp Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
datasource_rtmp Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
decoder Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-18 14:56:46 +01:00
decoder_ffmpeg Remove Javadoc TODO from README of decoder extensions 2023-04-18 14:56:46 +01:00
decoder_flac Remove Javadoc TODO from README of decoder extensions 2023-04-18 14:56:46 +01:00
decoder_opus Remove Javadoc TODO from README of decoder extensions 2023-04-18 14:56:46 +01:00
decoder_vp9 Remove Javadoc TODO from README of decoder extensions 2023-04-18 14:56:46 +01:00
effect Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
exoplayer Change format logged when AudioSink throws InitializationException 2023-04-18 14:59:20 +01:00
exoplayer_dash Make DefaultDashChunkSource more robust against empty segment timelines 2023-04-18 14:54:30 +01:00
exoplayer_hls Add media3 guide entries in README files 2023-03-31 13:36:24 +01:00
exoplayer_ima Remove remaining references to exoplayer.dev 2023-04-18 14:56:45 +01:00
exoplayer_rtsp Retry RTSP Setup with TCP if response with UDP is UnsupportedTransport 2023-04-18 14:55:46 +01:00
exoplayer_smoothstreaming Add media3 guide entries in README files 2023-03-31 13:36:24 +01:00
exoplayer_workmanager Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
extractor Update colr box values to be overridden by bitstream boxes 2023-04-18 15:16:49 +01:00
session Ensure TrackSelectionParameters overrides match existing groups 2023-04-18 15:17:40 +01:00
test_data Merge pull request #10793 from fraunhoferfokus:dash-thumbnail-support 2023-02-02 16:47:09 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
test_session_common Update available commands when setting a new player in MediaSession 2023-04-18 15:00:09 +01:00
test_session_current Ensure TrackSelectionParameters overrides match existing groups 2023-04-18 15:17:40 +01:00
test_utils Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
test_utils_robolectric Fix javadoc links in media README files 2023-03-31 13:35:43 +01:00
transformer Add media3 guide entries in README files 2023-03-31 13:36:24 +01:00
ui Add media3 guide entries in README files 2023-03-31 13:36:24 +01:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-02 13:22:39 +00:00