-
Notifications
You must be signed in to change notification settings - Fork 407
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
Doesn't pick rear camera on Android Chrome #5
Comments
I have edited it so that it forces the facingMode (not just prefer it) if provided otherwise it will let the browser choose (on some browser it shows an alert on some it doesn't like chrome for android). I will publish this update as soon as possible. |
It also seems that their are inconsistencies with constrains on chrome vs the standard. |
I have updated the module to 0.2.8. Please test the demo again. |
Just tried. Even though I choose "Back" from the select, the video output keep displaying from the front one. |
After having updated and tried on my own app where I set So it seems it's working fine now on Android Chrome ! |
👍 Sorry the demo used the value |
When going on the demo page with Android Chrome 51.0.2704.81, the front camera gets picked by default. There is no prompt for choosing the camera as there is on latest Android Firefox.
I'm using Android 4.2.2 on a FairPhone 1.
It seems it's possible to select the rear one, as I'm able to do it on https://webrtc.github.io/samples/src/content/devices/input-output/ through the select input.
The text was updated successfully, but these errors were encountered: