-
Notifications
You must be signed in to change notification settings - Fork 103
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
Camera option #36
Comments
The problem here is that qcode-decoder uses a deprecated browser API. I get the following console error when trying to run the example:
The library most likely still works when browsing with an encrypted connection (https).
Also on Firefox, qcode-decoder still uses the (even older) deprecated |
I've tried setting up HTTPS and the problem persists. Using Firefox mobile the selection of camera happens BEFORE loading the full page, so the browser manages to tell qcode-decoder what camera to use. Instead, using Chrome mobile, where the browser doesn't ask what camera you would like to use, the switch doesn't work. I've tried looking into the code to set the VideoFacingModeEnum property to "environment" as stated in https://w3c.github.io/mediacapture-main/getusermedia.html#dom-videofacingmodeenum-environment but couldn't make it work. :-( |
How can i use the Camera option?
When i press "Capture" nothing is happening (this happens also in the demo http://cirocosta.github.io/qcode-decoder/)
Thank you.
The text was updated successfully, but these errors were encountered: