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
_cameraController intializer takePicture #66
Conversation
fixed camera initialization await before takePicture method being called, other wise the following exception was thrown: `Exception has occurred. CameraException (CameraException(error, CaptureRequest contains unconfigured Input/Output Surface!))` Fixes for issue: #62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also faced the similar issue #62 . This solution has worked for me.
Does it fix your issues ? |
I agree with @Kleak, this mean that you're calling takePicture too soon, can you confirm this just by waiting that the camera is Streaming images and then call takePicture ? It should worked normally |
Without waiting to initilialize the takePicture method doesnt work |
I tried this without using the initializer:
the floowing error is thrown: |
One question, why do you call stop ?? should work without stoping the camera ^^ |
@jaumard can you provide some code working example? I've tried without stop and start, but when I call:
|
I'm closing this one, it's taking care by #97 by exposing directly the camera controller so you have full control if you want/need |
Thanks ! :) |
fixed camera initialization await before takePicture method being called, other wise the following exception was thrown:
Exception has occurred. CameraException (CameraException(error, CaptureRequest contains unconfigured Input/Output Surface!))
Fixes for issue: #62