Skip to main content

Recorder

Recorder component for recording video from a canvas.

Definition

function Recorder(__namedParameters: {
fileOptions?: FilePickerAcceptType;
recorderOptions?: MediaRecorderOptions;
streamOptions?: {
frameRequestRate: number;
};
children?: (props: { recordTime: number }) => ReactNode;
}): ReactNode;

Properties

fileOptions

FilePickerAcceptType

The file options of the Recorder component.

recorderOptions

MediaRecorderOptions

The recorder options of the Recorder component.

streamOptions

Object

The stream options of the Recorder component.
{ frameRequestRate: number }.

children

ReactNode

The children of the Recorder component.

Returns

ReactNode

The Recorder component.

Examples

Loading samples...