Skip to content

Intermact API Reference / @intermact/react / RecordVideoOptions

Interface: RecordVideoOptions ​

Defined in: react/src/export/recordCanvas.ts:38

Options for recordCanvasVideo.

Properties ​

bitsPerSecond? ​

readonly optional bitsPerSecond?: number

Defined in: react/src/export/recordCanvas.ts:46

Video bitrate in bits/sec (default 8 Mbps).


duration? ​

readonly optional duration?: number

Defined in: react/src/export/recordCanvas.ts:42

Seconds to record (default: the player's duration).


fps? ​

readonly optional fps?: number

Defined in: react/src/export/recordCanvas.ts:40

Capture frame rate (default 30).


mimeType? ​

readonly optional mimeType?: string

Defined in: react/src/export/recordCanvas.ts:44

Preferred recorder MIME type (auto-detected/validated via isTypeSupported).

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)