Skip to content

Interface: RecordingOptions

@roomful/core


@roomful/core / RecordingOptions

Defined in: packages/core/src/types.ts:2380

Configures the recording engine, including privacy controls.

optional maxFrames: number

Defined in: packages/core/src/types.ts:2395

A retention cap: keep only the most recent maxFrames frames, dropping the oldest first. Bounds the memory a long-running capture holds. Omit for no cap (keep everything).


optional redact: (frame) => RecordingFrame | null

Defined in: packages/core/src/types.ts:2389

A privacy hook applied to every frame before it is stored, so sensitive data never enters the recording. Return the frame (optionally with its signal masked in place) to keep it, or null to drop it entirely. The frame’s signal is a fresh clone, so mutating it is safe.

RecordingFrame

The candidate frame (with a cloned signal).

RecordingFrame | null

The frame to store, or null to drop it.