Skip to main content
Recording features require v1.0.0 or later.
After a stream session ends, you can retrieve recording artifacts including the full video, events log, thumbnail, and preview.

Capturing the Stream ID

The stream ID is provided in the onStreamStarted callback. Save this ID to retrieve recordings later:

Retrieving a Recording

Use getRecording() with the stream ID to get presigned URLs for the recording artifacts:
getRecording() can be called without an active connection. It only requires a valid API key.

Recording Properties

URLs are valid for a limited time (typically 1 hour).

Listing All Recordings

Use listStreamRecordings() to get a paginated list of all your recordings:

Pagination Options

React Example

Complete Workflow Example

This example shows the full workflow: starting a stream, interacting with it, ending it, and then retrieving the recording:

Broadcast & Recordings

  • Broadcast streams produce recordings in the same way as standard streams.
  • Use getRecording(streamId) or listStreamRecordings() normally.
  • Broadcast mode does not change recording behavior.

Recording Types

TypeScript interfaces for recordings

Odyssey Class

getRecording and listStreamRecordings methods