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

Crashes with ExoPlayer #351

Closed
shannon-livefront opened this issue Oct 11, 2024 · 2 comments
Closed

Crashes with ExoPlayer #351

shannon-livefront opened this issue Oct 11, 2024 · 2 comments

Comments

@shannon-livefront
Copy link

Information

  • Haze version: 0.9.0-beta03
  • Platform: Android
  • Platform version: Android 14

Expected Behavior

The video would be blurred

Actual Behavior

The app crashes with the error java.lang.IllegalStateException: Recording currently in progress - missing #endRecording() call?

Steps to Reproduce the Problem

  1. Set .haze(state = hazeState) on an exoplayer video player view
  2. Run the app

The video was blurred as expected when I changed nothing else but downgraded to version 0.7.3 of haze, so the bug seems to be related to the new 0.9.* version only.

@chrisbanes
Copy link
Owner

Please provide a simple sample demonstrating this.

I'm surprised that ExoPlayer worked with 0.7.x to be honest. By default it uses SurfaceView, which is incompatible with Haze.

@chrisbanes
Copy link
Owner

The sample added in #356 is working great for me. I'm going to close this, but feel free to comment if the sample is missing something.

@chrisbanes chrisbanes closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants