*** id: d8f68ef1-5232-4751-a121-35b58c71aec2 title: startRecording slug: /js/reference/video/room-session/start-recording description: startRecording method for the RoomSession class. max-toc-depth: 3 ---------------- ### startRecording * **startRecording**(): `Promise` - See [RoomSessionRecording documentation](/docs/browser-sdk/v3/js/reference/video/room-session-recording) for more details. Starts the recording of the room. You can use the returned [RoomSessionRecording](/docs/browser-sdk/v3/js/reference/video/room-session-recording) object to control the recording (e.g., pause, resume, stop). #### Returns `Promise` - See [RoomSessionRecording documentation](/docs/browser-sdk/v3/js/reference/video/room-session-recording) for more details. #### Permissions * `room.recording` You need to specify the permissions when [creating the Video Room Token](/docs/apis/video/room-tokens/create-room-token) on the server side. #### Example ```javascript const rec = await roomSession.startRecording(); await rec.stop(); ```