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

Fatal Exception: java.lang.RuntimeException: enable shutter sound failed #377

Closed
ankitbatra11 opened this issue Jan 31, 2019 · 1 comment

Comments

@ankitbatra11
Copy link

Crash observed while enabling shutter sound.

Fatal Exception: java.lang.RuntimeException: enable shutter sound failed
       at android.hardware.Camera._enableShutterSound(Camera.java)
       at android.hardware.Camera.enableShutterSound(Camera.java:1919)
       at com.otaliastudios.cameraview.c.b(Camera1.java:395)
       at com.otaliastudios.cameraview.c.c(Camera1.java:190)
       at com.otaliastudios.cameraview.d$3.run(CameraController.java:180)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:164)
       at android.os.HandlerThread.run(HandlerThread.java:65)
  • CameraView version: 1.6.0
  • Reproducible in official demo app: no
  • Device / Android version: OnePlus3, Oreo

Crash should not happen while enabling shutter sound.

No logs are available since the crash has been reported through Crashlytics.

@natario1
Copy link
Owner

natario1 commented Feb 1, 2019

Will take a look, thanks!

natario1 added a commit that referenced this issue Feb 23, 2019
@natario1 natario1 mentioned this issue Feb 23, 2019
natario1 added a commit that referenced this issue Feb 23, 2019
* Fix #377 and update dependencies

* Fix #384

* Fix unbindFromSurface bug

* Bump version to v2.0.0-beta03

* Update build.gradle
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