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
ConstrainDOMStringfacingMode
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 | undefinedresolution
optional
the desired video resolution
the desired video resolution
Type
VideoResolution