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

Issue About After Take a Picture #43

Closed
1060680253 opened this issue Jun 19, 2017 · 3 comments
Closed

Issue About After Take a Picture #43

1060680253 opened this issue Jun 19, 2017 · 3 comments
Labels

Comments

@1060680253
Copy link

After taking pictures will be stuck for a while, this problem can be improved?But the system camera after taking pictures, will not be stuck for a while
Please help me out this problem。thankyou

@Diolor
Copy link
Member

Diolor commented Jun 19, 2017

Hi! Can you please give more concrete details? What stuck means? And also what phone/api versions did you experience it with?

@Diolor Diolor added the bug label Jun 19, 2017
@1060680253
Copy link
Author

gif_20170619_162730

you can see gif file,phone version is android 5.0.2

@dmitry-zaitsev
Copy link
Member

Sorry for slow reply.

I looked into the issue and it seems that the root cause is that we are using Camera1 API by default since it is generally faster, less complicated and more reliable. You can switch to Camera2 API, which will fix that particular problem.

Here is how you can do it. When you prepare your Fotoapparat instance, just provide cameraProvider parameter like that.

.cameraProvider(v2(context))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants