Interface FrameSourceConfiguration

Configuration for the frame source (camera).

Hierarchy

  • FrameSourceConfiguration

Properties

rememberCameraDeviceId?: boolean

Remember the camera that was last used to successfully scan a code.

If this is set to true, the frame source will remember the camera used whenever a code was successfully scanned, and attempt to use the same camera again when re-initialized.

Default

false
resolution?: "hd" | "full-hd" | "auto"

Video frame resolution.

The default resolution is 720p, which is usually enough for good quality barcodes. You can try higher resolutions if you have very fine or degraded codes, at the expense of higher computational requirements.

Default

hd

Generated using TypeDoc