Skip to main content

Quick Example


Connection Methods

RTSP URL Format

Examples:

Connect from Camera


RTStream Object

After connecting, you receive an RTStream object:

Retrieve Existing Streams

Get by ID

List All Streams


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


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

Next Steps

Real-time APIs

Index, transcribe, and set up alerts

Stream Lifecycle

Start, stop, and reconnect patterns