RoomSessionRecording
Represents a specific recording of a room session.
Properties​
duration​
• Optional
duration: number
Duration, if available.
endedAt​
• Optional
endedAt: Date
End time, if available.
id​
• id: string
The unique id of this recording.
roomSessionId​
• roomSessionId: string
The id of the room session associated to this recording.
startedAt​
• Optional
startedAt: Date
Start time, if available.
state​
• state: "recording"
| "paused"
| "completed"
Current state.
Methods​
pause​
â–¸ pause(): Promise<void>
Pauses the recording.
Returns​
Promise<void>
resume​
â–¸ resume(): Promise<void>
Resumes the recording.
Returns​
Promise<void>
stop​
â–¸ stop(): Promise<void>
Stops the recording.
Returns​
Promise<void>