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

setCameraFront

Selects the front camera for recording.

Details

Switches to the front camera during recording.

Syntax

Name: setCameraFront

Type: () => Promise<void>

Returns: Promise<void>

Description

Enables the front camera (user) without interrupting the current recording.


Example

<facephi-video-provider settings={{ serviceType: 'local' }} />

await video.setCameraFront();

Last updated