> 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/selphi-biometria-facial/propiedades/externalcamera.md).

# externalCamera

## Details

**Attribute:** `external-camera`

**Type:** `MediaStream` | `boolean`

**Default value:** `false`

## Morphology

```typescript
selphi.externalCamera = mediaStream;
```

## Description

Allows injecting a `MediaStream` external one (for example, from `facephi-video-provider`) instead of opening the camera directly in `facephi-selphi-widget`.

***

## Example

```jsx
<facephi-selphi-widget
    externalCamera={mediaStream}
/>
```
