Live broadcast monitoring

Round-the-clock probes on live audio and video that cut time to detect from 25 minutes to under 15 seconds.

Organisation
Steam and Globe Communication
Role
Senior Production Engineer — architecture and operation
Period
2017 – 2022
Status
Shipped
Fig. 06: Live broadcast monitoring — simplified architectureShipped
  1. Live audio & videoProduction streams
  2. FFmpeg probesContinuous, 24/7
  3. Anomaly detectionPacket loss · silence · frozen frames
  4. Alerts & reportsPostgreSQL
  5. Telemetry dashboardRedis · WebSockets
Simplified architecture. Probes watch what audiences actually receive.

In brief

When a live broadcast fails, everyone notices. I architected a platform that continuously probes live audio and video for packet loss, silence and frozen frames, raises the alarm and writes the report. Unplanned downtime fell by 65%, and the time to detect a failure dropped from 25 minutes to under 15 seconds.

For engineers

Python workers (asyncio, Celery, FastAPI/Flask) drive FFmpeg probes against live streams, with results in PostgreSQL for alerting and reporting. A companion real-time telemetry dashboard on Redis and WebSockets automated daily SLA compliance reporting.

  • Python
  • asyncio
  • Celery
  • FastAPI / Flask
  • FFmpeg
  • PostgreSQL
  • Redis
  • WebSockets

Context

Steam and Globe Communication runs live audio and video across multiple production channels, around the clock.

Problem

Detecting a failure took 25 minutes on average — a long time for something live on air.

Approach

FFmpeg-based probes continuously sample every live stream.

Detectors look for the failures that matter on air: packet loss, silence and frozen frames.

Incidents and availability data land in PostgreSQL, feeding alerts, reports and a real-time telemetry dashboard.

Architecture

The components in Fig. 06, in the order a request moves through them:

Live audio & video
Input · Production streams
FFmpeg probes
Processing · Continuous, 24/7
Anomaly detection
Processing · Packet loss · silence · frozen frames
Alerts & reports
Data · PostgreSQL
Telemetry dashboard
Output · Redis · WebSockets

Stack: Python · asyncio · Celery · FastAPI / Flask · FFmpeg · PostgreSQL · Redis · WebSockets

Key decisions

  1. Probe the output, not just the servers

    Checking what audiences actually receive catches failures that infrastructure metrics miss.

  2. Asynchronous workers

    asyncio and Celery let one platform watch many live streams continuously without blocking.

Outcome

  • <15 s

    mean time to detect

    Down from 25 minutes

  • 65%

    less unplanned downtime

  • 70%

    less manual diagnostic overhead

    Telemetry dashboard

Mean time to detect a failure

Before
25 min
After
<15 s

More than 100× faster

Start a conversation

Have a difficult problem,
interesting market,
or ambitious idea?

Let’s explore whether there’s something worth building together.