dwa012 / html5-qrcode

A cross platform HTML5 QR code reader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Camera Selection

infario opened this issue · comments

Is it possible to add toggle to switch between cameras of mobile devices.

I tried with MediaStreamTrack.getSources(gotSources); But it seems depricated with latest Chrome Firefox version. The mediaDevices.enumerateDevices() is right method seems. but I couldnt make it with current code. Any help?

http://stackoverflow.com/questions/18625007/enable-rear-camera-with-html5