Function: useRecording()
@roomful/react / useRecording
Function: useRecording()
Section titled “Function: useRecording()”useRecording<
TPresence>(options?):UseRecordingResult
Defined in: react/src/index.ts:1643
Subscribes to the session-recording engine: reactive isRecording,
frameCount, and durationMs, with stable start/stop/replay/export controls.
Capture is local to this peer; replay re-emits the captured frames at their
original tempo.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The room presence shape.
Parameters
Section titled “Parameters”options?
Section titled “options?”RecordingOptions
Returns
Section titled “Returns”The recorder state and controls.