Transforming media with ExoPlayer

ExoPlayer 2.13 includes a new Transformer library module for converting media streams. This post describes what this module does and how to use it.

API capabilities


The media2 extension for ExoPlayer

The AndroidX media2 session API is the new version of Android’s MediaSession API. By integrating your application’s media player with this API, you can allow playback to be controlled via Bluetooth media control keys, Google Assistant, Android Auto, and other…


Playing AV1 videos with ExoPlayer

AV1 is a new video codec that aims to provide improved compression efficiency compared to VP9 and HEVC. Over the past year, we’ve seen considerable interest in supporting AV1 playback in ExoPlayer. As part of keeping pace with the latest developments in video coding…


Load error handling in ExoPlayer

ExoPlayer version 2.9 provides error handling customization via LoadErrorHandlingPolicy. Historically, error handling has been one of the less flexible aspects of ExoPlayer. By using custom implementations of the LoadErrorHandlingPolicy interface, apps can now tweak load…


Playing 360 degree videos with ExoPlayer

With ExoPlayer 2.9 a new surface type is added to PlayerView: spherical_view. This new surface type allows users to view 360º videos without a VR headset. Only some part of the video in one direction is displayed at any time. To explore the video in all…