You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facing mode environment is only flipping the camera horizontally #49
I´m trying to use the back camera of the phone to scan, and to do that i am changing the default constraints to { facingMode: 'environment' }.
The camera that is used is still the front one, and it only flips the video horizontally. I can reproduce this on my project aswell as on the demo of the package. Tried on different phones aswell.
I also tried { facingMode: { exact: 'environment' } } and { facingMode: { ideal: 'environment' } } but with no success.
Activity
AndreyPatseiko commentedon Jan 19, 2022
I have the same problem.
Tried
{ facingMode: "user" and "environment" }and got only horizontal flip. :(gabrielbrrll commentedon Feb 14, 2022
Same, I'm having this problem as well.
ralphievolt commentedon Feb 22, 2022
Try this. Works for me!!