Skip to main content
GET
/
rtstream
/
{stream_id}
/
stream
Get RTStream playback URL
curl --request GET \
  --url https://api.videodb.io/rtstream/{stream_id}/stream \
  --header 'x-access-token: <api-key>'
{
  "success": true,
  "data": {
    "stream_url": "https://stream.videodb.io/rts/12345"
  }
}
Get a playback URL for viewing the real-time stream. Optionally specify a time range for historical playback.
  • Omit start and end for live playback
  • Use Unix timestamps for start and end to retrieve historical segments
  • frame_rate controls the playback frame rate

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

stream_id
string
required
Example:

"rts-12345"

Query Parameters

start
number

Start unix timestamp for time-based retrieval

Example:

1700000000

end
number

End unix timestamp for time-based retrieval

Example:

1700003600

original_frame_rate
integer
default:1
Example:

1

frame_rate
integer
default:1
Example:

1

Response

200 - application/json

Stream URL

success
boolean
Example:

true

data
object