media/libraries
tonihei 1c557e2fd1 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.

#minor-release

Issue: androidx/media#296
PiperOrigin-RevId: 523986626
2023-04-13 16:30:45 +01:00
..
cast Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
common Ensure TrackSelectionParameters overrides match existing groups 2023-04-13 16:30:45 +01:00
database Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_cronet Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_okhttp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
datasource_rtmp Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
decoder_av1 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_ffmpeg Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_flac Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_opus Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
decoder_vp9 Remove Javadoc TODO from README of decoder extensions 2023-04-05 15:48:58 +01:00
effect Remove setters for streamOffset. 2023-04-12 16:52:48 +01:00
exoplayer Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
exoplayer_dash Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_hls Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_ima Correct ad durations when timeline moves more than a single period 2023-04-11 10:30:27 +01:00
exoplayer_rtsp Move NAL unit utility classes into common 2023-04-05 15:45:35 +01:00
exoplayer_smoothstreaming Rename ExoTrackSelection.blacklist to excludeTrack 2023-04-12 16:54:45 +01:00
exoplayer_workmanager Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
extractor Update colr box values to be overridden by bitstream boxes 2023-04-13 16:30:45 +01:00
session Ensure TrackSelectionParameters overrides match existing groups 2023-04-13 16:30:45 +01:00
test_data HDR: Add HDR pixel tests. 2023-04-12 16:51:51 +01:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
test_session_current Ensure TrackSelectionParameters overrides match existing groups 2023-04-13 16:30:45 +01:00
test_utils Extend Player interface, overloading 4 device-volume methods with flags 2023-04-13 16:30:30 +01:00
test_utils_robolectric Fix javadoc links in media README files 2023-03-30 17:26:40 +00:00
transformer Channel mix to 16-bit int not float 2023-04-12 16:58:43 +01:00
ui Rename misleading COMMAND_GET/SET_MEDIA_ITEMS_METADATA 2023-04-12 16:59:38 +01:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00