Skip to main content

Quick Example


Events vs Alerts


Delivery Methods

WebSocket

Webhook

Illustrative callback payload; inspect and validate the delivery your endpoint receives:

Latency Profile


Delivery Guarantees


Event Channels

The current V2 alert channel is produced by the V2 scene index above: The following channel names are available through RTStream helper APIs:

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