The device ID to try to get a MediaStream from using getUserMedia
.
Duration of time to run the test in milliseconds. If not specified, then the VideoInputTest will keep running until VideoInputTest.stop is called.
The video element used to render the device feed. If not provided, then the video feed is not rendered.
Used to mock calls to getUserMedia
.
The device's capture resolution in pixels. If not specified, then the default capture resolution is used.
Generated using TypeDoc
Whether or not to log debug statements to the console.