setCameraRear
Selects the rear camera for recording.
Details
Switch to the rear camera during recording.
Syntax
Name: setCameraRear
Type: () => Promise<void>
Returns: Promise<void>
Description
Activates the rear camera (environment) without interrupting the current recording.
Example
<facephi-video-provider settings={{ serviceType: 'local' }} />
await video.setCameraRear();Last updated