Recording features require v1.0.0 or later.
Capturing the Stream ID
The stream ID is provided in theonStreamStarted callback. Save this ID to retrieve recordings later:
Retrieving a Recording
UsegetRecording() 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
UselistStreamRecordings() 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)orlistStreamRecordings()normally. - Broadcast mode does not change recording behavior.
Related
Recording Types
TypeScript interfaces for recordings
Odyssey Class
getRecording and listStreamRecordings methods