Skip to main content

Quick Example


Events vs Alerts


Delivery Methods

WebSocket

Webhook

Payload:

Latency Profile


Delivery Guarantees


Event Channels


Best Practices

  1. Make events reusable - Define once, use across streams
  2. Be specific in prompts - “Detect person falling” beats “detect problems”
  3. Use both methods - WebSocket for UI, webhooks for automation
  4. Handle idempotency - Webhooks may deliver duplicates

What You Can Build

Baby Crib Monitoring

Real-time infant monitoring with AI-powered alerts

Intrusion Detection

Sub-second alerts when unauthorized access is detected

Traffic Violations

Real-time detection of red light and stop sign violations

Next Steps

RTStream Reference

Complete real-time API

Webhooks Guide

Setting up callbacks