getRecordings

View as Markdown

getRecordings

  • getRecordings(): Promise<{ recordings: RoomSessionRecording }> - See RoomSessionRecording for more details.

Obtains a list of recordings for the current room session.

Returns

Promise<{ recordings: RoomSessionRecording }> - See RoomSessionRecording for more details.

Example

1const recs = await roomSession.getRecordings();
2if (recs.recordings.length > 0) {
3 console.log(recs.recordings[0].id, recs.recordings[0].duration);
4}