For the complete documentation index, see llms.txt. This page is also available as Markdown.

cameraId

Camera identifier to use.

Details

Attribute: camera-id

Type: string

Default value: ""

Morphology

selphi.cameraId = '3f5e2b1c9a8d7e6f5a4b3c2d1e0f9a8b';

Description

Set the deviceId from MediaDevices to use a specific camera in facephi-selphi-widget. If left empty, the component chooses the camera according to cameraType and the device's capabilities.


Example

<facephi-selphi-widget
    cameraId={'3f5e2b1c9a8d7e6f5a4b3c2d1e0f9a8b'}
/>

Last updated