-
Notifications
You must be signed in to change notification settings - Fork 864
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
rear camera #160
Comments
if you want to make the rear camera the default one you can modify the Instascan.Camera.getCameras() function in this way:
by default the cameras[0] is the front one, so if you change it to cameras[1] it will start from your rear camera. |
Ok! Tks! |
@Sixbitunder Don't you mean |
@drikusroor The cameras is stored in an array that's why we start at 0 |
As I suspected the above code causes the application to fail on laptops with one camera using Chrome. |
How to use the rear camera on smartphones?
The text was updated successfully, but these errors were encountered: