Skip to content

Interface: UseRecordingResult

@roomful/react


@roomful/react / UseRecordingResult

Defined in: react/src/index.ts:470

Describes the return value of useRecording.

durationMs: number

Defined in: react/src/index.ts:485

The span of the current take in milliseconds. Reactive.


exportRecording: () => RoomfulRecording

Defined in: react/src/index.ts:506

Serializes the current take into a portable recording (named to stay destructurable, since export is a reserved word).

Serializes the current take into a portable RoomfulRecording.

RoomfulRecording


frameCount: number

Defined in: react/src/index.ts:480

How many signals the current take has captured. Reactive: increments as traffic flows while recording.


isRecording: boolean

Defined in: react/src/index.ts:474

Whether the recorder is currently capturing wire signals. Reactive.


replay: (recording?) => ReplaySession

Defined in: react/src/index.ts:500

Builds a timed playback session for a recording, or the current take.

Builds a timed playback session for a recording, or for the current take when none is given.

RoomfulRecording

The recording to replay; defaults to the current take.

ReplaySession

A playback session.


start: () => void

Defined in: react/src/index.ts:490

Begins capturing, discarding any previous take.

Begins capturing wire signals, discarding any previous take.

void


stop: () => void

Defined in: react/src/index.ts:495

Stops capturing; the captured frames remain available.

Stops capturing. The captured frames remain available.

void