> 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/setcamerarear.md).

# setCameraRear

## Details

Switches 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

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

await video.setCameraRear();
```
