VideoCaptureOptions
Options when capturing video
Interface
deviceId
optional
A ConstrainDOMString object specifying a device ID or an array of device IDs which are acceptable and/or required.
A ConstrainDOMString object specifying a device ID or an array of device IDs which are acceptable and/or required.
Type
ConstrainDOMString
facingMode
optional
a facing or an array of facings which are acceptable and/or required.
a facing or an array of facings which are acceptable and/or required.
Type
undefined
| undefined
| undefined
| undefined
resolution
optional
the desired video resolution
the desired video resolution
Type
VideoResolution