Options
Menu

Interface Options

Hierarchy

  • Options

Index

Properties

Optional Private debug

debug: undefined | false | true

Whether or not to log debug statements to the console.

Optional deviceId

deviceId: undefined | string

The device ID to try to get a MediaStream from using getUserMedia.

Optional duration

duration: undefined | number

Duration of time to run the test in milliseconds. If not specified, then the VideoInputTest will keep running until VideoInputTest.stop is called.

default

Infinity

Optional element

element: HTMLVideoElement

The video element used to render the device feed. If not provided, then the video feed is not rendered.

Optional Private getUserMedia

getUserMedia: typeof getUserMedia

Used to mock calls to getUserMedia.

Optional resolution

resolution: VideoResolution

The device's capture resolution in pixels. If not specified, then the default capture resolution is used.

Generated using TypeDoc