Fallback mock setup for getUserMedia - DEMO

Click the buttons below to test using different constraints.
If the constraints pass, a stream using your device will be displayed.
If the constraints fail, a mock stream will be displayed.
Method: navigator.getUserMedia navigator.mediaDevices.getUserMedia