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

# stopVideo

## Details

Stops the Video Recording process.

### Syntax

**Name:** `stopVideo`

**Type:** `() => Promise<void | Blob>`

**Returns:** `Promise<void | Blob>`

## Description

Finishes the recording. In `local`, returns a `Blob` with the captured video. The asset is sent automatically to the SDK Tracking pipeline.

### Considerations

Call this method when the Flow of extraction of the child widgets has finished (for example, after `extractionFinish`).

***

## Example

```jsx
<facephi-video-provider
    settings={{ serviceType: 'local' }}
>
    <facephi-selphi-widget
        onExtractionFinish={async () => {
            const blob = await video.stopVideo();
        }}
    />
</facephi-video-provider>
```
