Quick Example
Connection Methods
RTSP URL Format
Connect from Camera
RTStream Object
After connecting, you receive an RTStream object:| Attribute | Type | Description |
|---|---|---|
id | str | Unique identifier (rts-xxx) |
name | str | Label you supplied |
collection_id | str | Parent collection |
status | str | connected, stopped, etc. |
sample_rate | float | Frame rate (default: 1 fps) |
audio | bool | Audio ingestion enabled |
Retrieve Existing Streams
Get by ID
List All Streams
| Parameter | Description |
|---|---|
limit | Number of results |
offset | Skip N results |
status | Filter by status |
name | Filter by name |
ordering | Sort field (prefix - for descending) |
Playback URLs
Generate HLS/MP4 URLs for any time range using Unix timestamps:The
start and end parameters expect Unix timestamps (seconds since epoch), not relative time offsets.Supported Sources
| Source | Format | Notes |
|---|---|---|
| IP Cameras | RTSP | Most common, H.264/H.265 |
| NVR/DVR | RTSP | Per-channel streams |
| Encoders | RTSP/RTMP | OBS, FFmpeg, hardware encoders |
| Streaming Servers | RTSP | Wowza, nginx-rtmp |
Connection Notes
- Secure Storage - All video feeds are securely stored and accessible anytime
- Default Sample Rate - Streams are ingested at 1 fps by default
- Network - Ensure your RTSP source is accessible from VideoDB’s servers
What You Can Build
Baby Crib Monitoring
Real-time infant monitoring with AI-powered alerts
Intrusion Detection
Detect unauthorized access to restricted areas
Traffic Violations
Monitor traffic cameras for red light and stop sign violations