Multi-Camera Viewer via Cloudflare Realtime

Ready to connect

Recent Detections

Cloudflare Products Powering This Demo

Cloudflare Realtime

WebRTC SFU routing video streams globally with sub-second latency. Each camera track is published and forwarded to viewers without transcoding.

Live

Cloudflare Workers

Serverless compute hosting the viewer app and API proxy. Handles session creation, track subscription, and detection routing.

Live

Workers AI

Object detection using @cf/facebook/detr-resnet-50. Analyzes video frames and returns bounding boxes with labels and confidence scores.

Live

D1 Database

SQLite database storing detection event logs. Every detected object is recorded with timestamp, camera, label, and confidence.

Live

Durable Objects

Stateful coordinator per camera. Ensures only one AI detection runs per second regardless of viewer count. Caches results across viewers.

Live

Cloudflare DNS / Custom Domain

Custom domain realtime.khangpham.com with automatic SSL provisioning. DNS managed on Cloudflare's global network.

Active