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