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

Use facingMode of environment to use rear-facing camera #178

Closed
jywarren opened this issue Sep 22, 2020 · 1 comment · Fixed by #183
Closed

Use facingMode of environment to use rear-facing camera #178

jywarren opened this issue Sep 22, 2020 · 1 comment · Fixed by #183

Comments

@jywarren
Copy link
Member

facingMode: { ideal: "environment" },

this line didn't work on Android Chrome, in #173, but maybe it will on iOS. But in any case let's try variants to get this correctly using the rear-facing camera when possible, by default:

https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/facingMode

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

Successfully merging a pull request may close this issue.

1 participant