Baby Monitor

WebRTC-based Real-Time Video & Audio Monitoring

About this Project: This is a personal project showcasing WebRTC technology for real-time video streaming. The codebase is open-source and available on GitHub.

What is Baby Monitor?

Baby Monitor is a free, open-source WebRTC-based application that turns any two devices with cameras into a real-time baby monitoring system. Stream live video and audio from your baby's room to your phone, tablet, or computer from anywhere in the world.

🎥 Real-Time Video

HD video streaming using WebRTC technology for low-latency monitoring

🔊 Sound Detection

Adjustable audio level monitoring with customizable sensitivity

👶 Motion Detection

Visual motion detection alerts you when baby moves

🔒 Secure Access

Password-protected access with server-side validation

📱 Cross-Platform

Works on desktop and mobile browsers - no app installation needed

🌐 Remote Access

Monitor from anywhere with internet connection

How It Works

Setup Overview

Note: This documentation explains how the baby monitor works. To deploy your own instance, clone the repository from GitHub.

Step 1: Setup Baby View (Camera Device)

  1. Open Baby View: Navigate to the baby view page in your browser
  2. Allow Permissions: Grant camera and microphone access when the browser requests it
  3. Note the Room ID: A 6-digit room code is automatically generated and displayed
  4. Configure Detection: Enable sound and/or motion detection and adjust sensitivity thresholds
  5. Place Device: Position the device with a clear view and keep the page open

Step 2: Setup Parent View (Monitor Device)

  1. Open Parent View: Navigate to the parent view page on your monitoring device
  2. Enter Room ID: Type in the 6-digit room code from the baby view device
  3. Connect: Click "Connect to Baby Monitor"
  4. Monitor: Live video stream appears with real-time alerts for sound/motion detection

Tips for Best Experience

Technical Details

Technology Stack

WebRTC Socket.io JavaScript HTML5 Cloudflare Functions PWA

How It Works

The baby monitor uses WebRTC (Web Real-Time Communication) for peer-to-peer video streaming. A signaling server (built with Socket.io) helps establish the connection between devices. Once connected, video and audio stream directly between devices for minimal latency.

Connection Modes:

Important: In both modes, video always streams directly peer-to-peer between your devices. Video is never stored, recorded, or routed through any external servers. STUN servers only help discover public IP addresses - they never see or handle your video data.

Privacy & Security

Browser Compatibility

Works on modern browsers that support WebRTC:

Troubleshooting

Common Issues

Camera/Microphone Not Working:

Connection Failed:

Poor Video Quality:

Too Many False Alerts:

← Back to Apps