Back to Projects
AI Development
Live
Web, iOS, Android

AwareCam: AI-Powered Cloud Video Surveillance

A multi-tenant cloud surveillance suite spanning a Web Dashboard, Super Admin Panel, Mobile companion, an auto-scaling Streaming Orchestrator microservice, and a Cloudflare Worker edge proxy — delivering real-time AI event detection, multi-channel alerting, and on-demand analytics over RTSP and device cameras.

16+
Technologies
11+
Key Features
Web, iOS, Android
Platform
AwareCam: AI-Powered Cloud Video Surveillance

Key Features

Multi-camera HLS live streaming gridRTSP camera registration and health checksDevice camera streaming via getUserMedia8 AI event detection types with bounding-box annotationPull-based stream lifecycle with TTLAuto-scaling MediaMTX orchestratorCloudflare Worker HLS edge proxyEmail, SMS, WhatsApp, Slack, Teams alerting5-tier Stripe subscription with camera-limit enforcementMulti-tenant organization with RBACInternationalization — English + Hebrew (RTL)

Development Highlights

Five-component platform architectureAuto-scaling MediaMTX streaming orchestrator8 AI event types with bounding-box annotationCloudflare Worker edge proxy for low-latency HLSMulti-channel alerting across email, SMS, WhatsApp, Slack, TeamsFive-tier Stripe subscription with camera-limit enforcementEnglish + Hebrew (RTL) internationalization

Technology Stack

React 18ViteTailwind CSSRadix UIPythonFastAPIPostgreSQLSupabaseMediaMTXFFmpegCloudflare WorkersDockerStripeTwiliohls.jsi18next

Our Contribution

Platform Architecture

Designed the five-component architecture — Web Dashboard, Super Admin Panel, Mobile companion, Streaming Orchestrator microservice, and Cloudflare Worker HLS edge proxy.

Web Dashboard

Built the React Web Dashboard with multi-camera live grid (up to 15-camera layouts), pull-based stream lifecycle, low-latency mode, and the AI event polling feed.

Camera Management

Implemented camera registration for RTSP/IP cameras with FPS control, zone definitions, health monitoring, and RTSP URL caching for faster stream startup.

Streaming Orchestrator

Engineered the Streaming Orchestrator FastAPI microservice with MediaMTX lifecycle management, auto-scaling DigitalOcean droplet provisioning, buffer pools, and stream rebalancing.

Edge Proxy

Shipped the Cloudflare Worker edge proxy for HLS playlist and segment caching with proper CORS for cross-origin browser playback.

AI Event Detection

Delivered all 8 AI event types (person, loitering, intrusion, motion, vehicle, PPE, safety, zone activity) with bounding-box snapshot annotation and severity scoring.

Alerting System

Built the multi-channel alerting system across email, SMS, WhatsApp via Twilio, plus Slack, Teams, Zapier, Make.com, and n8n webhook integrations.

Subscription Billing

Implemented the Stripe subscription engine — five plan tiers, hosted checkout, billing portal, webhooks, trial management, and camera-limit enforcement with upsell prompts.

Analytics Suite

Created the analytics suite covering people, vehicle, security risk assessment, camera and zone metrics, with on-demand report generation.

Mobile Companion

Delivered the mobile companion experience — getUserMedia device camera streaming, QR code pairing, mobile-optimized live grid, and on-site alert triage.

Internationalization

Added internationalization with English and Hebrew including full RTL layout support across the customer-facing surfaces.

Results

Platform Components: Five-component cloud surveillance suiteAI Detection: 8 event types at real-time scaleStreaming: Auto-scaling infrastructure with edge cachingAlerting: Multi-channel instant alerting across 5+ channels

What Makes This Special

A complete cloud surveillance pipeline from RTSP camera ingest to multi-channel alerts, with real-time AI event detection, auto-scaling streaming infrastructure, and edge-cached low-latency playback.

Frequently Asked Questions

MicrocosmWorks designed AwareCam with a pull-based stream lifecycle that only activates streaming when a viewer requests it, with TTL-based automatic shutdown. AI event detection runs on the cloud side where the auto-scaling MediaMTX orchestrator processes streams, analyzing frames for 8 event types including person detection, loitering, and zone intrusion. The Cloudflare Worker edge proxy caches HLS segments to reduce origin bandwidth, while bounding-box annotation snapshots are stored rather than full video, minimizing storage costs.

MicrocosmWorks delivered 8 AI event types: person detection, loitering, intrusion zone violation, motion detection, vehicle detection, PPE compliance, safety hazard, and zone activity monitoring. Each event includes bounding-box snapshot annotation and severity scoring that feeds into the alerting engine. The system supports configurable detection sensitivity thresholds and zone definitions per camera, allowing operators to reduce false positives in their specific environment.

MicrocosmWorks built an event-driven alerting pipeline that routes AI detections to configured channels based on event type and severity. Email and SMS alerts go through Twilio, WhatsApp notifications use the Twilio WhatsApp Business API, and Slack and Microsoft Teams receive webhook-formatted alerts. Additionally, Zapier, Make.com, and n8n webhook integrations allow operators to connect AwareCam alerts to any downstream workflow system.

MicrocosmWorks engineered the Streaming Orchestrator as a FastAPI microservice that manages MediaMTX server lifecycle with auto-scaling DigitalOcean droplet provisioning. When camera load exceeds a server's capacity, the orchestrator spins up additional streaming nodes, distributes cameras across the pool using buffer-based load balancing, and rebalances streams when nodes are added or removed. The entire provisioning and scaling process is automatic and transparent to end users.

MicrocosmWorks implemented 5-tier Stripe subscription billing with camera-limit enforcement at the API level. Each plan tier permits a specific maximum number of registered cameras, and the system blocks camera registration attempts that would exceed the limit while showing upgrade prompts. The subscription engine handles hosted checkout, billing portal access, webhook-driven plan changes, trial management, and organization-level billing for multi-tenant deployments.

Have a Similar Project in Mind?

Let's discuss how we can help you achieve similar results.

Contact UsSchedule Appointment