Stay organized with collections
Save and categorize content based on your preferences.
A media player is an app-level component that allows playback of video and audio
files. Such files can be stored locally or streamed over the Internet. Jetpack
Media3 provides a Player interface that defines basic functionality such as
the ability to play, pause, seek, and display track information.
ExoPlayer is the default implementation of this interface in Media3. Compared
to Android's MediaPlayer API, it adds additional conveniences such as support
for multiple streaming protocols, default audio and video renderers, and
components that handle media buffering. ExoPlayer is easy to customize and
extend, and can be updated through Play Store application updates.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-01-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-05 UTC."],[],[],null,["# Media3 ExoPlayer\n\nA media player is an app-level component that allows playback of video and audio\nfiles. Such files can be stored locally or streamed over the Internet. Jetpack\nMedia3 provides a `Player` interface that defines basic functionality such as\nthe ability to play, pause, seek, and display track information.\n\n`ExoPlayer` is the default implementation of this interface in Media3. Compared\nto Android's `MediaPlayer` API, it adds additional conveniences such as support\nfor multiple streaming protocols, default audio and video renderers, and\ncomponents that handle media buffering. ExoPlayer is easy to customize and\nextend, and can be updated through Play Store application updates.\n| **Tip:** If you are new to ExoPlayer, check out the [Getting started](/guide/topics/media/exoplayer/hello-world) page for an introduction to using ExoPlayer. If you already use the standalone ExoPlayer library, see the [migration guide](/guide/topics/media/media3/getting-started/migration-guide) for instructions on moving to Media3."]]