You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I create a CameraStream object for an external webcam connected to my system? The computer has a front and rear facing camera, but I need to use a specialized camera that shows up as another webcam on the computer. I am not sure how to create the constraints to use this camera.
The text was updated successfully, but these errors were encountered:
if(!navigator.mediaDevices||!navigator.mediaDevices.enumerateDevices){console.log("enumerateDevices() not supported.");return;}// List cameras and microphones.navigator.mediaDevices.enumerateDevices().then(function(devices){devices.forEach(function(device){console.log(device.kind+": "+device.label+" id = "+device.deviceId);});}).catch(function(err){console.log(err.name+": "+err.message);});
in the Chrome/Firefox dev tools console, and you should see your deviceId hopefully.
How do I create a CameraStream object for an external webcam connected to my system? The computer has a front and rear facing camera, but I need to use a specialized camera that shows up as another webcam on the computer. I am not sure how to create the constraints to use this camera.
The text was updated successfully, but these errors were encountered: