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

Detect when camera is completely ready to shoot #246

Open
ankrv opened this issue Apr 13, 2021 · 0 comments
Open

Detect when camera is completely ready to shoot #246

ankrv opened this issue Apr 13, 2021 · 0 comments

Comments

@ankrv
Copy link

ankrv commented Apr 13, 2021

Hi, Patrick! Thank you for your great work! I'm using your sample Project app on iOS 14.4 and trying to capturePhotoFromVideo as soon as possible right after the app launch.

The closest thing I found is didSetupVideoInSession - but I need to use at least the 125-175 ms timer else capturePhotoFromVideo sometimes takes almost black photos on iPhone XR and 5s. Sometimes the camera is ready in 100 ms and sometimes in 175 ms or more.

Is there a way to detect when the camera is completely ready?

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

1 participant