WebcamSchema: { type: "webcam"; camera: Camera | string; microphone: Microphone | string; videoCodec?: VideoCodec; preserveActiveCameraConfiguration?: boolean; leftAudioChannelOnly?: boolean; audioDelay?: number; output?: "singleFile"; filename?: string; } | { type: "webcam"; camera: Camera | string; microphone: Microphone | string; videoCodec?: VideoCodec; preserveActiveCameraConfiguration?: boolean; leftAudioChannelOnly?: boolean; audioDelay?: number; output: "segmented"; filenamePrefix?: string; segmentCallback?: ((url) => void); } Type declaration
type: "webcam"
camera: Camera | string
microphone: Microphone | string
Optional videoCodec?: VideoCodec
Optional preserveActiveCameraConfiguration?: boolean
Optional leftAudioChannelOnly?: boolean
Optional audioDelay?: number
Optional output?: "singleFile"
Optional filename?: string
Type declaration
type: "webcam"
camera: Camera | string
microphone: Microphone | string
Optional videoCodec?: VideoCodec
Optional preserveActiveCameraConfiguration?: boolean
Optional leftAudioChannelOnly?: boolean
Optional audioDelay?: number
output: "segmented"
Optional filenamePrefix?: string
Optional segmentCallback?: ((url) => void)
Creates a recorder item for a webcam movie file, using the provided microphone and camera. Output is stored in a RecordKit bundle.