Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Output Fails After Minimizing App in OpenGL ExoPlayer Demo #1780

Open
1 task
Shadkirill opened this issue Oct 4, 2024 · 0 comments
Open
1 task

Video Output Fails After Minimizing App in OpenGL ExoPlayer Demo #1780

Shadkirill opened this issue Oct 4, 2024 · 0 comments
Assignees

Comments

@Shadkirill
Copy link

Version

Media3 main branch

More version details

I am encountering an issue with the OpenGL ExoPlayer demo that renders the player output into a GLSurfaceView. After minimizing the app and reopening it, the video stops displaying and only a black screen appears. The issue can sometimes be reproduced more easily by minimizing the app, starting a YouTube video, and then returning to the OpenGL demo app.

Steps to Reproduce:
Run the OpenGL ExoPlayer demo that renders into a GLSurfaceView.
Minimize the app.
Reopen the app – at this point, the video fails to display, showing only a black screen.
Additional Information:

The issue does not occur in the older ExoPlayer repository, so it might be a recent problem introduced in media3.
The bug is intermittent but seems to happen more frequently after switching between the demo app and another video-playing app like YouTube.

Could you please investigate this issue and provide any guidance on how to resolve or work around it?

Devices that reproduce the issue

Pixel 8 PRO
Samsung Fold 4
Pixel 7 PRO

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Yes

Reproduction steps

Run the OpenGL ExoPlayer demo that renders into a GLSurfaceView.
Minimize the app.
Reopen the app – at this point, the video fails to display, showing only a black screen.
Additional Information:

Expected result

The media plays

Actual result

Black screen

Media


Bug Report

  • You will email the zip file produced by adb bugreport to [email protected] after filing this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants