dhala
dhala
I've been working with constraints to try and force the use of the rear camera. Here's my attempt: Webcam.set( 'constraints', { audio: false, video: { facingMode: { exact: 'environment' }...
When I run this code, I get: " environment is not defined". Same error when I use "user". Am I missing something obvious here? Webcam.set( { audio: false, video: {...
That helps. Thanks. I'm trying to force the Webcam using webcam.set. The code below displays the default image, the correct size and functions, but appears to be ignoring the "facingMode"....