dwa012/html5-qrcode

Camera Selection

infario opened this issue · 0 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