
Identified the common areas of functionality in our existing media libraries, including UI, playback and media session handling. Media3 removes these challenges by providing a single set of libraries which work well together. It can be challenging to decide which library to use for a given use case, and objects from different libraries are often not compatible, requiring adapters or connecting code. These libraries were developed with different goals, and have several areas of overlapping functionality.įor example, ExoPlayer and Media2 both contain UI components, and MediaCompat and Media2 contain classes for handling media sessions.
We have several existing media APIs: Jetpack Media also known as MediaCompat, Jetpack Media2, and ExoPlayer. This article will explain why we created Media3, what it contains, and how it can simplify your app architecture. It's a collection of support libraries for media playback, including ExoPlayer. Today, we're launching the first alpha of Jetpack Media3. Posted by Don Turner, Developer Relations Engineer