Quick Example
Events vs Alerts
Delivery Methods
WebSocket
Webhook
Latency Profile
Delivery Guarantees
Event Channels
Best Practices
- Make events reusable - Define once, use across streams
- Be specific in prompts - “Detect person falling” beats “detect problems”
- Use both methods - WebSocket for UI, webhooks for automation
- 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