UNPKG

@uppy/webcam

Version:

Uppy plugin that takes photos or records videos using the device's camera.

8 lines 434 B
import type { ComponentChild } from 'preact'; export interface VideoSourceSelectProps { currentDeviceId: string | MediaStreamTrack | null | undefined; videoSources: MediaDeviceInfo[]; onChangeVideoSource: (deviceId: string) => void; } export default function VideoSourceSelect({ currentDeviceId, videoSources, onChangeVideoSource, }: VideoSourceSelectProps): ComponentChild; //# sourceMappingURL=VideoSourceSelect.d.ts.map