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

Methods

Methods of the Video Provider component.

The Video Provider exposes methods to control the Video Recording and the camera.

Syntax

const video = document.querySelector('facephi-video-provider');

await video.stopVideo();

Usage example

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

Methods

Last updated