media/libraries
tonihei c90ca7ba5f Make availableCommands known when bundling PlayerInfo
When bundling PlayerInfo, we remove data when the controller is not
allowed to access this data via getters. We also remove data for
performance reasons. In the toBundle() method, it's currently hard to
make the connection between allowed commands and filtering, because
the values are checked at a different place. This can be made more
readable by forwarding the applicable Commands directly.

The only functional fix is to filter the Timeline when sending the
first PlayerInfo after a connecting a controller if the command to
get the Timeline is not available. This also allows us to remove a
path to filter MediaItems from Timelines as it isn't used.

PiperOrigin-RevId: 502607391
2023-01-18 12:02:09 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2022-12-21 15:07:20 +00:00
common Make availableCommands known when bundling PlayerInfo 2023-01-18 12:02:09 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Remove setScale and setRotationDegrees from TransformationRequest 2023-01-17 02:14:20 +00:00
exoplayer Add the possility to shift frame timestamps in SampleConsumer 2023-01-17 02:12:48 +00:00
exoplayer_dash Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_hls Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_ima Clarify what default settings are being used for SSAI AdsLoader 2023-01-17 02:11:18 +00:00
exoplayer_rtsp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_smoothstreaming Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Throw a ParserException instead of a NullPointerException if the sample table (stbl) is missing a required sample description (stsd). 2023-01-04 21:58:17 +00:00
session Make availableCommands known when bundling PlayerInfo 2023-01-18 12:02:09 +00:00
test_data Effect: Automatically save bitmaps in pixel test. 2023-01-17 02:10:24 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Use onMediaMetadataChanged for updating the legacy session 2023-01-17 01:46:39 +00:00
test_session_current Filter what PlaybackStateCompat actions are advertised 2023-01-18 11:58:10 +00:00
test_utils Effect: Automatically save bitmaps in pixel test. 2023-01-17 02:10:24 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Add resolution fallback for 25% of requested. 2023-01-18 12:01:02 +00:00
ui Disables play/pause button when there's nothing to play 2023-01-18 11:59:03 +00:00
ui_leanback Fix Dackka error due to param name mismatch 2022-12-21 15:17:34 +00:00