*** id: 73eb23e0-557c-41c5-a13f-5e861cdc6f8b title: getPlaybacks slug: /js/reference/video/room-session/get-playbacks description: getPlaybacks method for the RoomSession class. max-toc-depth: 3 ---------------- ### getPlaybacks * **getPlaybacks**(): `Promise<{ playbacks: RoomSessionPlayback }>` - See [RoomSessionPlayback documentation](/docs/browser-sdk/v3/js/reference/video/room-session-playback) for more details. Obtains a list of recordings for the current room session. #### Returns `Promise<{ playbacks: RoomSessionPlayback }>` - See [RoomSessionPlayback documentation](/docs/browser-sdk/v3/js/reference/video/room-session-playback) for more details. #### Permissions * `room.playback` 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 ```js const pl = await roomSession.getPlaybacks(); if (pl.playbacks.length > 0) { console.log(rec.playbacks[0].id, recs.playbacks[0].state); } ```