gruhn / vue-qrcode-reader

A set of Vue.js components for detecting and decoding QR codes.
https://gruhn.github.io/vue-qrcode-reader
MIT License
2.03k stars 330 forks source link

user which camera he wants to use? #268

Closed luisrossi closed 11 months ago

luisrossi commented 2 years ago

Is it possible to provide the user which camera he wants to use?

Something like this: https://nimiq.github.io/qr-scanner/demo/

gruhn commented 2 years ago

If you request this feature because the component picks the wrong camera by default (wide-angle camera, infrared, ...), then please open this website on your device. You'll see a list of cameras installed on your device. Copy the list. paste it here and tell me which is the bad camera that got picked by default and which is the right one that should have been picked.

gruhn commented 11 months ago

This is possible in v5.0.0 now via the constraints prop