Function: parseRoomfulRecording()
@roomful/core / parseRoomfulRecording
Function: parseRoomfulRecording()
Section titled “Function: parseRoomfulRecording()”parseRoomfulRecording(
value):RoomfulRecording|null
Defined in: packages/core/src/engines/recording.ts:31
Parses and validates a value loaded from a .roomful file (e.g. JSON.parse(fileText)) into a
RoomfulRecording, or returns null when it is malformed or an unsupported version — so a
bad or incompatible file can never be handed to RecordingEngine.replay. Each frame’s
signal is validated through the same transport-signal parser the live wire path uses.
Parameters
Section titled “Parameters”unknown
The parsed JSON value from a .roomful file.
Returns
Section titled “Returns”RoomfulRecording | null
The validated recording, or null.