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

stopVideo

Stops the Video Recording and returns the blob in local mode.

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

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

Last updated