*** id: bb713571-149c-4c10-ae14-72ed7eb94c7a title: RoomSessionRecording slug: /node/reference/video/room-session-recording sidebar-title: RoomSessionRecording description: >- RoomSessionRecording reference representing a recording of a video room session. Access recording ID, state, duration, and start/end timestamps. max-toc-depth: 3 ---------------- 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` Pauses the recording. #### Returns `Promise` *** ### resume ▸ **resume**(): `Promise` Resumes the recording. #### Returns `Promise` *** ### stop ▸ **stop**(): `Promise` Stops the recording. #### Returns `Promise`