Open
Description
Media3 Version
1.0.0-beta03
Devices that reproduce the issue
BOXD6 (TV box) running Android 7.1.2
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
observed in app: ExoAirPlayer v3.x
Expected result
listener receives event notifications without any delay.. immediately after the controller is hidden
Actual result
approx. 3 second delay
When I migrated a project from ExoPlayer to Media3, I needed to change from the old PlayerView to the new PlayerView (aka: StyledPlayerView)
-
initially, the code had called: PlayerView.setControllerVisibilityListener(
PlayerControlView.VisibilityListener
)- this listener didn't receive any event notifications (at all)
-
when I updated the code to call: PlayerView.setControllerVisibilityListener(
PlayerView.ControllerVisibilityListener
)- this listener does receive all event notifications
- when the visibility of the controller changes:
- from
GONE
toVISIBLE
, the listener receives an event notification immediately - from
VISIBLE
toGONE
, the listener receives an event notification after a delay (approx. 3 seconds)
- from
Media
N/A
Bug Report
- You will email the zip file produced by
adb bugreport
to dev.exoplayer@gmail.com after filing this issue.