> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-web/componentes/video-recording-video-grabacion/metodos/setcamerafront.md).

# setCameraFront

## 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

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

await video.setCameraFront();
```
