> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# getPlaybacks

> getPlaybacks method for the RoomSession class.

### 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/rest/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);
}
```