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-face-capture mask_hidden></idlive-face-capture>

mask_hidden

Do not show the face mask

auto_capture_disabled

Disable auto capture after face detection

auto_close_disabled

Do not close camera after taking a photo

audio_enabled

Request a media stream with audio

payload_size

Size of produced payload. Available values:

  • normal (default)
  • small

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

face_not_centered_check_enabled

Enable FACE_NOT_CENTERED detection error