Skip to main content
POST
/
rtstream
/
{stream_id}
/
export
Export RTStream recording as VideoDB asset
curl --request POST \
  --url https://api.videodb.io/rtstream/{stream_id}/export \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "Exported Recording"
}
'
{
  "success": true,
  "data": {
    "video_id": "m-12345",
    "name": "Exported Recording",
    "stream_url": "https://stream.videodb.io/v/12345",
    "player_url": "https://console.videodb.io/player/12345",
    "duration": 123.45
  }
}
Export a recording from a real-time stream as a VideoDB video asset. This creates a standard video that can be indexed, searched, and edited.
  • The exported video gets a standard video ID (m- prefix)
  • Includes stream URL and player URL for immediate playback
  • The recording must exist (stream must have store enabled or have recorded data)

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

stream_id
string
required
Example:

"rts-12345"

Body

application/json
name
string
Example:

"Exported Recording"

Response

Recording exported

success
boolean
Example:

true

data
object