media/library
tonihei 7f20729117 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
(cherry picked from commit 5461d5cbf1)
2023-01-25 18:29:36 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Make availableCommands known when bundling PlayerInfo 2023-01-25 18:29:36 +00:00
core Document that DownloadService needs notification permissions 2023-01-25 18:29:36 +00:00
dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Add javadoc links to README files 2023-01-25 18:29:34 +00:00
extractor Throw a ParserException instead of a NullPointerException if the sample table (stbl) is missing a required sample description (stsd). 2023-01-25 18:29:35 +00:00
hls Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
rtsp Add javadoc links to README files 2023-01-25 18:29:34 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 12:24:56 +00:00
transformer Add javadoc links to README files 2023-01-25 18:29:34 +00:00
ui Disables play/pause button when there's nothing to play 2023-01-25 18:29:36 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.