mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

This happens when using `ExoPlayer.setVideoEffects()`. This CL also fixes the first frame not rendered problem, originally solved in7e65cce967
, but rolled back in5056dfaa2b
because the solution introduces the flash that is observed in b/292111083. Before media3 1.1 release, the output size of `VideoFrameProcessor` is not reported to the app. This was changed later after introducing `CompositingVideoSinkProvider`, where the video size after processing **is** reported to the app. After this CL, the size is again, not reported. PiperOrigin-RevId: 602345087 (cherry picked from commit dcae49a561d3dd0a67a44a913c063b0232bbc445)
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 'androidx.media3:media3-exoplayer:1.X.X'
where 1.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.