androidx.media2 usage with ExoPlayer
See original GitHub issueSearched documentation and issues
I searched in issues and in code directly
Question
I’m trying to use some library (that is using androidx.media2
) within existing app based on ExoPlayer and it’s integration with androidx.legacy:legacy-support-v4
.
In media 2 documentation there is a statement Media2 is the next generation of following Media APIs: MediaSession, MediaController, MediaBrowser, MediaBrowserService, VideoView, and MediaControlView.
. Is there any particular reason why ExoPlayer isn’t depending on it right now? Is there any plan to migrate APIs. I imagine that such change might require library users to migrate too, hence the question.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (3 by maintainers)
Top Results From Across the Web
The media2 extension for ExoPlayer | by Jaewan Kim - Medium
SessionPlayerConnector is an implementation of the AndroidX's media2 SessionPlayer interface, which is the base interface for all media players ...
Read more >Media2 - Android Developers
Media2 is the next generation of following Media APIs: MediaSession , MediaController , MediaBrowser , MediaBrowserService , VideoView , and MediaControlView .
Read more >How to use the new AndroidX Media2? - Stack Overflow
I am using Media App Architecture as a guide for building a music player app. But it uses the classes from support media-compat...
Read more >SessionPlayerConnector (ExoPlayer library)
An implementation of SessionPlayer that wraps a given ExoPlayer Player instance. Internally this implementation posts operations to and receives callbacks ...
Read more >Class androidx.media2.exoplayer.ExoPlayerMediaPlayer2Impl
When seeking to the given time position, there is no guarantee that the media item has a frame located at the position. When...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’ll update this issue when the media2 extension is published.
Thanks. Just for reference, 02f8cdf1d9c277a38377bacd5f9e2b3cf7ca8041 was the first commit related to this.