Record Real-time Streams for Archival or Future Video on Demand Playback

Recording enables users to capture the live stream for future playback with an option to store and download the media file. When you record your live broadcasts, the recorded files are automatically processed and saved for you.

This guide includes examples for recording a stream and managing the recordings:

Recording Streams

When recording a stream, the video codec used during the stream will be reflected in the archived video file.

Video CodecMedia Container
VP8, VP9, AV1WebM

The resolution and bitrate of the recording will be dependent and match that of the stream being broadcast. Typically, when a stream begins the resolution and bitrate may shift around due to network conditions.

When using multisource streams each source can be recorded as an independent video file. If you want a video that combines all of the sources as a single layout, you will need to handle the mixing with another tool.


Recording Availability and Pricing

Recording is not available for free accounts.

To record streams, upgrade your account to one of our plans from the Dashboard. There are storage fees for video recording based on the number of hours a GB of data is stored. See the Pricing section for more details.

How-to Record from the Dashboard


Getting Started

If you haven't already, begin by following the Getting Started tutorial to create a application and start your first broadcast. You'll need your publish token and stream name for the steps described below.

Recording must first be enabled on a publish tokens. You can enable recording either when creating a new token or by updating an existing token.

Enable Record broadcast when creating a token:

Enable Record for an existing publish token from the Settings section of Token details.


Updating Token Settings

The recording property cannot be updated while the token is being used in a live broadcast; you must stop broadcasting to update it.

Go into the Live broadcast dashboard and press on the Broadcast button. Once the record feature is active, a red Record indicator will show up next to the Start button. Click on the button to make sure the stream will be recorded either prior to beginning the stream or later while the event is already live.

Press the Start button to begin broadcasting with recording enabled.

Allow the broadcast to record for at least 10 seconds, then click the Stop button to stop the feed. Once you've stopped, go ahead and close the broadcaster interface. This will return you to the tokens page on the Live broadcast page.

Revisit the publish token's management screen used for this stream and enter into the Recordings tab to access all recording files.

How-to Record from OBS

You can record your broadcasts even if you are using 3rd party applications like OBS or your own custom broadcaster application. If you have not broadcasted to Real-time Streaming from OBS, please read the Using OBS page to enable your first broadcast with the software.

If you are familiar with the steps, set up OBS by visiting the Settings button to add the token information required.

Back on the main page, click the Start Recording button under Start Streaming to start recording your screen. When you are done, select Stop Recording. Recordings are available only in your local video or movie folder.

Accessing Recordings

How-to Find the Recordings for a Token

To search videos recorded from a specific token, go into your Publish token from the Live Broadcast section and click the Settings button to open the management screen, then select the Recordings tab from the top of the panel. Each thumbnail is displayed with a reference to your recording. A newly created recording can take a few seconds to several minutes to render, depending on length. Once the recording has been processed, you are able to view it.

You can click on the More Files button to see all the files recorded with the respective token.

How-to Find All Recordings for an Account

All of your recorded videos will be listed in the Recordings section of the dashboard.

Here you can view either as a thumbnail grid or a basic list by clicking the List View button on the top right section menu. Additionally, you can see the current total storage used in the top right corner of the Recording page, or get your current billable storage in the Billing page.

How-to Preview a Recording and Metadata

To view your recorded videos, click on the thumbnail image which will open the Preview Player and begin playing the video. The player also provides more information about your recording including length, quality, and dimensions. Click on the More Details button under the player to explore.


You can close the player using the close button located on the top right or you can scroll down to choose another video.


Audio Codec of Recordings

Recorded video downloaded will have audio codec as Opus. Playback on various media players may not support Opus and audio may not be heard. You can use VLC for playback and converting sound to AAC.

How-to Download Videos of Recordings

You can download recordings from the icons on the thumbnail directly. You can also download your video using the icon menu under the preview player. Clicking the download icon (arrow icon here) will immediately initiate a download.

How-to Remove and Delete Recordings

The retention policy for recordings is determined by your business rules for removing and deleting the files.

Located next to the download button, the delete icon will delete the recording of the video. To delete multiple videos you can select the checkboxes on the thumbnails and then click the Delete Selected button from the section menu on the top right.


To delete all items at once click the Select All button from the same top section menu, this will select every thumb on the screen, then click the Delete Selected button to delete them all.



Deleting Recordings is Permanent

If you delete a recording it is immediate and permanent. We are unable to recover a recording once it has been deleted and removed from the cloud servers.

How-to Access Recordings with REST API


Using the REST APIs

Review the REST API platform guide for more details on generating an API secret for authentication. You will need an API Secret from the dashboard in order to make requests.

The Recording API provides a REST API that can be used to automate workflows for downloading and removing recordings.

Here is an example of how to generate a URL link to download a recorded video using cURL.

curl --request GET \
     --url \
     --header 'accept: application/json' \
     --header 'authorization: Bearer d47137c5c1fe0b52c43d9e00a7bafb11a60d4ad5b4e91fe06257e8c13aca01dd'

In the URL request ({recordFileId}), the recordField being asked for is the reference number allocated after a new recording is registered. As for the Bearer, it is the token associated not with a publish token but with your account. To find this information, visit Settings on the left panel. Here under Security, it holds the account's API secrets. Tap on the + Create button and label it as you wish. Copy the token and replace it on the code above. If the response was 200, then your JSON should look like this:

  "status": "success",
  "data": {
    "download": {
      "downloadUrl": "",
      "downloadExpiresOn": "2023-07-20T21:10:21.6860061Z"
    "id": 644690,
    "tokenId": 4369072,
    "token": "d4eff62e5e2761c1767c95e8ba460eca3cc354338539e41dbd9bb94c860e7ce",
    "streamName": "sxsw",
    "recordedOn": "2023-03-13T18:23:21Z",
    "status": "Complete",
    "metadata": {
      "format": "WEBM",
      "sizes": {
        "concat": 25701067,
        "dash": 25747521,
        "thumbnails": 463570
      "duration": 85,
      "tracks": [
          "type": "video",
          "codec": "VP8",
          "bitrate": 3577036,
          "width": 1280,
          "height": 720,
          "framerate": 0
          "type": "audio",
          "codec": "Opus",
          "bitrate": 24367,
          "channels": 2,
          "samplerate": 48000
      "thumbnails": [

The response will not only contain the downloadURL but the metadata about the fetched file like codec, bitrate, format, and framerate. It will also display the information related to the Publish token under which it was recorded. To learn more about the recordings API and how to manage the calls yourself see the Recording API documentation.

How-to Get Notification When Recording is Available

There is a Recording Webhook that can be used so that your application receives a notification when a recording becomes available.

Learn More

Learn more by exploring the developer blog and code samples.