media/libraries
bachinger 21022c77be Use MediaBrowserCompat.rootHints as connections hints
In Media3 there is the useful concept of connection hints that a
client can set when building the session and that are sent to the
service and passed to the `Callback.onConnect()` method when the
browser connects.

These connection hints are then included in the `ControllerInfo`
object that later will be passed to every callback method and the
implementor can then take decisions specific to these connection
hints.

These connection hints are not available in media1. However, when
an app creates a `MediaBrowserCompat` object, the constructor takes
a rootHint object that is sent to
`MediaBrowserServiceCompat.onGetRoot()`.

This change uses the browser rootHints as the connection hints when
creating the `ControllerInfo` for legacy browsers and makes them
available to the `MediaLibrarySession.Callback` domain methods in
the same way as connection hints of a Media3 browser.

PiperOrigin-RevId: 484220748
2022-10-31 11:43:21 +00:00
..
cast Add device info to CastPlayer 2022-09-30 16:52:14 +00:00
common Add AudioProcessor.AudioFormat equals method. 2022-10-31 11:38:26 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_cronet Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Update CMake version for AV1 extension 2022-09-30 16:39:17 +00:00
decoder_ffmpeg Move AudioProcessor to common. 2022-10-31 11:34:30 +00:00
decoder_flac Move AudioProcessor to common. 2022-10-31 11:34:30 +00:00
decoder_opus Move AudioProcessor to common. 2022-10-31 11:34:30 +00:00
decoder_vp9 Add manifest to make gradle build work 2022-10-17 16:05:52 +00:00
effect Add GL utility methods to get 4x4 identity and set identity 2022-10-31 11:33:30 +00:00
exoplayer Make adding ad live breaks more robust 2022-10-31 11:42:19 +00:00
exoplayer_dash Fix 3 ErrorProneStyle findings: 2022-09-30 17:17:38 +00:00
exoplayer_hls Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_ima Make adding ad live breaks more robust 2022-10-31 11:42:19 +00:00
exoplayer_rtsp Merge pull request #162 from ittiam-systems:rtp-mp4a-latm 2022-10-24 10:49:25 +00:00
exoplayer_smoothstreaming Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Fix Cea608Decoder handling of service switch commands in field 2 2022-10-31 11:36:34 +00:00
session Use MediaBrowserCompat.rootHints as connections hints 2022-10-31 11:43:21 +00:00
test_data Merge pull request #162 from ittiam-systems:rtp-mp4a-latm 2022-10-24 10:49:25 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common MediaController: Add missing event flags (1/2) 2022-10-24 10:34:30 +00:00
test_session_current Use MediaBrowserCompat.rootHints as connections hints 2022-10-31 11:43:21 +00:00
test_utils Test: Rename to avoid redundant substrings. 2022-09-30 18:31:56 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-07-04 19:36:57 +00:00
transformer Add muxer timer to detect when generating an output sample is too slow 2022-10-31 11:39:28 +00:00
ui Remove ForwardingPlayer special case from PlayerControlView.setPlayer 2022-10-24 10:37:05 +00:00
ui_leanback Update Leanback library 2022-08-02 19:01:58 +00:00