cssNamespace: string | Set a namespace for the component CSS classes |
downloadFileName: string | Filename for video download |
getStatus | Callback to get webcam status |
recordingLength: number | Set max recording length in seconds |
namespace: string | Pass own CSS namespace |
options: object | Options for recording video |
| `type: video |
| `mimeType: video/mp4 |
| video: { minWidth, minHeight, maxWidth, maxHeight, minAspectRatio } |
statusMessages: object | Pass own status messages to recorder |
| { INIT, CLOSED, OPEN, RECORDING, PREVIEW, ERROR } |
controlLabels: object | Pass custom labels to control buttons |
| { CLOSE, DOWNLOAD, OPEN, RETAKE, START, STOP } |
render | Render prop that passes status and controls |
| isWebcamOn |
| isRecording |
| isPreview |
| openCamera |
| closeCamera |
| start |
| stop |
| retake |
| download |
| status |