stopVideo
Stops the Video Recording and returns the blob in local mode.
Last updated
Stops the Video Recording and returns the blob in local mode.
Stops the Video Recording process.
Name: stopVideo
Type: () => Promise<void | Blob>
Returns: Promise<void | Blob>
Finishes the recording. In local, returns a Blob with the captured video. The asset is sent automatically to the SDK Tracking pipeline.
Call this method when the Flow of extraction of the child widgets has finished (for example, after extractionFinish).
<facephi-video-provider
settings={{ serviceType: 'local' }}
>
<facephi-selphi-widget
onExtractionFinish={async () => {
const blob = await video.stopVideo();
}}
/>
</facephi-video-provider>Last updated