Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow custom constraints to be passed to getUserMedia() #250
There is currently no way to control the webcam media constraints. This PR changes that by allowing you to pass a
This would be very useful if you want, for example, to use a low-res feed for faster color tracking or if you need to pick a specific webcam out of many.
The suggested implementation is backwards-compatible.