We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have multiple webcams/video inputs, how do I specify which one to use? Right now, it defaults to the first one found.
The text was updated successfully, but these errors were encountered:
I had the same problem. Fixed adding a function to my local copy of webcam-easy.js Added this function:
set selectedDeviceId(value) { this._selectedDeviceId = value; }
I call that function with the new id:
webcam.selectedDeviceId = otherWebcamDeviceId; webcam.start();
Don't know if this is the cleanest solution (because the original variable was private probably for one reason) but works for me.
Sorry, something went wrong.
No branches or pull requests
If I have multiple webcams/video inputs, how do I specify which one to use? Right now, it defaults to the first one found.
The text was updated successfully, but these errors were encountered: