Live now · peer-to-peer video between sites

Night shift, never alone.

Guard Cam puts security guards at different sites on each other's screens, live. Each screen shows your own camera and three other guards, swapped every hour. When a link, a webcam or the server fails, it heals itself.

Runs in the browser · no install · audio off · nothing recorded

Your own camera and three other guards. On the hour everyone is rematched, and the old picture stays up until the new video is flowing.

Illustration, sped up. The timings in the captions are the real ones.

  1. Live

    Video goes straight from browser to browser over WebRTC. The server only introduces the guards.

  2. Resilient

    Every video link is disposable. When one breaks, only that tile rebuilds. The others keep playing.

  3. Heals itself

    Heartbeats, a frame watchdog and jittered backoff fix what breaks, with nobody on shift touching a thing.

The four-tile idea

Your camera and three other guards. New faces every hour.

Each guard opens one page. The server picks three other guards from the same company and their browsers link up directly. On the hour everyone is rematched at random, so through the night every site keeps an eye on many others.

  1. 01

    Log in once

    Company, access code, your name and site. The PC remembers it.

  2. 02

    Get three guards

    The server picks three others from your company's private pool. Companies never see each other.

  3. 03

    Video goes direct

    Browser to browser at 360p and 15 fps, about 1.5 Mbps each way. The server only passes on the short setup messages.

  4. 04

    Swap on the hour

    Everyone is rematched at random. The old picture stays until the new one is flowing.

Resilient · self-healing

Things break at 3 a.m. Guard Cam puts itself back together.

Cables get kicked, PCs lose power, webcams drop off USB, servers restart. Nobody on shift should have to fix any of it, so every part is built to fail and recover on its own.

5s

Heartbeat

The server pings every guard every 5 seconds.

~15s

Dead guard replaced

A PC that stops answering is dropped, and its peers get someone new.

15s

Frame watchdog

A link that delivers no new frames for 15 seconds is torn down and rebuilt.

~8s

Back after a restart

Video returns after a server restart, as measured in the end-to-end test.

A video link fails

It is thrown away and rebuilt with jittered backoff. Only that tile reconnects.

A link freezes but claims it's fine

The watchdog sees no new frames for 15 seconds and rebuilds it anyway.

A guard's PC loses power

Missed heartbeats drop it within about 15 seconds, and its peers are matched with someone else.

The webcam drops off USB

The camera is reopened and the new picture is swapped into every link. Nobody reconnects.

The hour turns

Everyone is rematched, but each old picture stays up until its replacement is flowing. No blank tiles.

The server restarts

A red banner says so, and every PC reconnects by itself, spread out with jitter so they don't all arrive at once.

Built for unattended PCs

Set it up once on the guard-house PC. Then leave it.

The screen in a guard house runs for days with nobody at the keyboard. Guard Cam is written for exactly that.

Rejoins after a reboot

The login is remembered, so a PC that restarts comes straight back onto the wall.

Screen stays awake

It holds a screen wake lock, so the display doesn't go to sleep mid-shift.

Fresh every night

It reloads once a night at a random minute between 03:00 and 03:30, so sites don't all reconnect together.

Says when it's cut off

A red banner shows when the server can't be reached, and your own tile turns red when nobody is linked to you.

Tested, not promised

The real thing.

This is the actual app: three guards online and one tile waiting for another guard. Chrome's test camera stands in for the webcams.

Every change runs an end-to-end test with five headless Chrome guards. It checks three things:

  • every guard gets live video;
  • the hourly rotation never blanks a tile;
  • every guard recovers when the server restarts.
The Guard Cam app: a two by two grid. Thabo at Sandton gate, linked to 2, Anna at Midrand depot, Sipho at Centurion mall, and a fourth tile that says Waiting for another guard.
The Guard Cam app · Chrome's fake camera feed

Straight answers

What it does today, and what isn't built yet.

Guard Cam is a working prototype. Here is exactly where it stands.

Today

  • Live peer-to-peer video between guards at different sites.
  • A private pool for each company. Companies never see each other.
  • Audio is off, and nothing is recorded.
  • Runs in a browser on any PC with a webcam. Nothing to install.
  • A small Go server that only handles login, who is online, and the setup messages.

Not built yet

  • No TURN relay, so guards behind strict firewalls may not connect yet.
  • No SFU: each guard sends three streams, about 1.5 Mbps up.
  • One shared access code per company. No per-guard accounts or admin screen.
  • No alerts yet for a frozen tile or a site going offline.
  • Matching is random, and can pair the same guards twice in a row.
Live

It's live right now.

Open it on any PC with a webcam. You'll need your company's access code.

Open Guard Cam