media/library/core
michaelkatz 81e73f6f19 Extrapolate playback position during audio offload sleep
While playback thread is 'asleep' during audio offload playback, the playbackInfo.positionUs is not being constantly updated. During this time, the returned value from getCurrentPosition should return an estimate based on the most recent value and playback speed.

PiperOrigin-RevId: 516550509
2023-03-14 16:54:38 +00:00
..
src Extrapolate playback position during audio offload sleep 2023-03-14 16:54:38 +00:00
build.gradle Fix instrumentation tests not working via Gradle 2022-10-19 22:54:45 +00:00
proguard-rules.txt Remove FfmpegVideoRenderer from 2.1.18 release 2022-05-30 18:22:06 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer module

This module provides ExoPlayer, the Player implementation for local media playback on Android.

Getting the module

The easiest way to get the module is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:exoplayer-core:2.X.X'

where 2.X.X is the version, which must match the version of the other media modules being used.

Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.

Using the module

The developer guide documents how to get started.