google / google/ExoPlayer

Migration guide: How to migrate to AndroidX Media3?

Open
#10,471 14 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

We have recently released AndroidX Media3 `1.0.0-beta02` which corresponds to ExoPlayer `2.18.1`. The [AndroidX Media3 library is published on GitHub](https://github.com/androidx/media) just as ExoPlayer and the [release artifacts are available over maven](https://developer.android.com/jetpack/androidx/releases/media3) just as the artifacts of the ExoPlayer library.

The AndroidX Media3 library is the successor of the ExoPlayer library and we encourage apps to migrate to the new dependencies as soon as possible.

To facilitate the migration, we have written a migration guide that gives some guidance on migrating `ExoPlayer`, `MediaSessionConnector` and `MediaBrowserServiceCompat`. The [migration guide is published on developers.android.com](https://developer.android.com/guide/topics/media/media3/getting-started/migration-guide).

We are keen to make the migration as easy as possible for developers. For this we also provide a script that facilitates moving your code to the new module and package structure of AndroidX Media3.

Please take a look at these resources when migrating and please give us feedback if you find the migration guide/script can be improved and made more useful for future readers.

We are looking forward to see you again on the AndroidX Media3 side soon! :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.