Search code examples
htmlgoogle-chromewebcam-capturewebcam.js

How to use front tablet's webcam with HTML GetUserMedia?


I am trying to use WebcamJS in Chrome on Windows tablet which has 2 webcams. However, it is working only with back webcam.

Any idea how to make it work with front webcam ?

Thanks for any hints.


Solution

  • There's a fork of that project that allows that very feature (the ability to choose the camera device): https://github.com/carvilsi/webcamjs

    Hope this helps.