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

Do we need to release resource after player.setVideoEffect() other than player.release()? #2009

Open
1 task
jjinyuwu opened this issue Dec 31, 2024 · 1 comment
Assignees

Comments

@jjinyuwu
Copy link

Version

Media3 1.5.0

More version details

No response

Devices that reproduce the issue

Samsung S23 running Android 14

Devices that do not reproduce the issue

No response

Reproducible in the demo app?

Not tested

Reproduction steps

  1. Create player instance
  2. Call player.setVideoEffects(emptyList()) before player.prepare()
  3. Navigate to another page
  4. Create another player instance
  5. Call player.setVideoEffects(emptyList()) before player.prepare()

Expected result

Video stars playing without any problem.

Actual result

Video plays for 1 second then stuck. And getting following error:
image

Media

Not applicable

Bug Report

  • You will email the zip file produced by adb bugreport to [email protected] after filing this issue.
@claincly
Copy link
Contributor

claincly commented Jan 3, 2025

Just to clarify - you have two player instances in this set up? Did you try to release the first player when navigating to the other page?

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

3 participants