-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
java.lang.IllegalStateException: Surface was requested when the Recorder had encountered error androidx.camera.video.internal.encoder.InvalidConfigException: android.media.MediaCodec$CodecException: Error 0xffffec77 #434
Comments
Need more information: only one capture session is supported. do you unbind the previous one before you bind the new one? |
I am having a similar issue on Android 7.0 OS. The crash log below. This crash happens when trying to initialize camera. I am using camerax-video 1.1.0-beta01
|
Thanks for the reports. This is a known issue and we are currently working on a bug fix. Will keep this thread updated on progress. @mayowa-egbewunmi That specific issue has been addressed with this change which should be part of the next release. |
Thanks @temcguir for the update. I look forward to the fix |
Any timeline on when the next release will be out? |
I'm looking forward to the fix too. My app has many crashes related to this issue. Crash log |
I have tried with 1.1.0-beta02, but still encounter this issue. |
Hi @temcguir Do you have any update on this issue? |
Sorry for the delay in updating this bug report. The crash should no longer occur as of |
This error is happening when I take a video but I discard it and want to take another one. In code I'm just calling the fun bindCameraUseCases() again.
The text was updated successfully, but these errors were encountered: