Create RTStream
Create RTStream
Create a new real-time stream connection
POST
Create RTStream
Create a new real-time stream by connecting to an RTSP or YouTube stream URL. The stream begins processing immediately.
urlis required and must be a valid RTSP or YouTube stream URLsample_ratecontrols the frame sampling rate (default: 30)media_typesspecifies which media to capture:video,audio, or both- Set
storetotrueto persist stream recordings - Enable
enable_transcriptfor automatic speech transcription
RTSP Ingest Guide
Learn about RTSP stream ingestion
Stream Lifecycle
Understand stream states
Authorizations
API key for authentication (sk-xxx format)
Body
application/json
RTSP or YouTube stream URL
Example:
"rtsp://example.com:8554/stream"
Example:
"My Stream"
Example:
"default"
Example:
30
Available options:
video, audio Example:
["video", "audio"]Example:
false
Example:
true
Example:
"conn-123"