ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

Stuck Surface

Open chladto1 opened this issue 3 years ago • 1 comments

We have player in embedded (player in layout with details) and fullscreen mode. Embedded and fullscreen mode are two Activity. When a user tap on fullscreen button, ViewGroup that contains controls and SurfaceView, GLSurfaceView or TextureView is removed from "embedded" Activity and added into "fullscreen" Activity that is started. This method works on all Androids from 5 to 11 and 13 (emulator), but not on Android 12. SurfaceView or GLSurfaceView is stuck and does not scroll in layout. Only TextureView works correctly. Could you please help us? What was changed and what we should do to fix the issue?

ExoPlayer version is 2.15.1.

Thanks

https://user-images.githubusercontent.com/62881052/186257136-27355988-b533-4172-a955-2f325cf17307.mp4

chladto1 avatar Aug 23 '22 20:08 chladto1

Any idea?

chladto1 avatar Sep 01 '22 12:09 chladto1