mirror of
https://github.com/samsonjs/media.git
synced 2026-04-18 13:25:47 +00:00
We currently use 3 different booleans to track the state of the first frame rendering, which implies that there are 8 distinct possible overall states. However, this is actually a staged process and there are only 3 different overall states in the current code. This means it's clearer and easier to reason about if the variables are combined to a single state value. Overall, this should be a complete no-op. State mapping: - rFFAReset=false, rFFAEnable=false, mayRenderFFAEINS=false => FIRST_FRAME_NOT_RENDERED_ONLY_ALLOWED_IF_STARTED - rFFAReset=false and/or rFFAEnable=false, mayRenderFFAEINS=any => FIRST_FRAME_NOT_RENDERED - rFFAReset=true, rFFAEnable=true, mayRenderFFAEINS=any => FIRST_FRAME_RENDERED PiperOrigin-RevId: 552857802 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules.txt | ||
| README.md | ||
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.