Skip to main content
POST
Create RTStream

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
url
string
required

RTSP or YouTube stream URL

Example:

"rtsp://example.com:8554/stream"

name
string
Example:

"My Stream"

collection_id
string
default:default
Example:

"default"

sample_rate
integer
default:30
Example:

30

media_types
enum<string>[]
Available options:
video,
audio
Example:
store
boolean
default:false
Example:

false

enable_transcript
boolean
default:true
Example:

true

ws_connection_id
string
Example:

"conn-123"

Response

RTStream created

success
boolean
Example:

true

data
object