Skip to content

Attributes

Attributes must be set before the camera is opened. Changing them when the camera is open will only result in changes after the camera is closed

The component has the following optional attributes

<idlive-document-capture auto_capture_disabled></idlive-document-capture>

auto_capture_disabled

Disable auto capture after document detection

auto_close_disabled

Do not close camera after taking a photo

audio_enabled

Request a media stream with audio

device_id

Device ID of the specific camera to be opened

capture_mode

Depending on the selected mode, a different set of data will be collected and returned in the capture event. Available values:

  • encryptedPayload (default): a photo and an encrypted file
  • singleImage: only a photo

resolution

Resolution that camera should target while capturing. Available values are:

  • 1080p (default)
  • 1440p

sdk_path

Path in your public directory to the files from the idlive-capture folder that are used in the CSP compatible version of library