Live Broadcast Error Triage Hub: HLS, FFmpeg ABR & WHEP Drops
Nine deterministic diagnostic dossiers covering 1 Gbps NIC saturation, libx264 transcode starvation, WebRTC ICE failures, /dev/shm LL-HLS 404s, and SaaS minute billing.
9 Broadcast Error Dossiers
Live HLS Buffering
At 6 Mbps ingest, just 160 concurrent viewers saturate a 1 Gbps NIC (1,037 Mbps with framing overhead), causing .ts/.m4s segment fetch timeouts across every player.
1080p60 Transcode Overload
Encoding a 1080p60+720p+480p ABR ladder in software libx264 requires 4 to 8 dedicated physical cores; when FFmpeg speed falls below 0.98x, MediaMTX playlists stall.
WebRTC WHEP ICE Drop
Sub-second MediaMTX WHEP playback requires viewers to complete ICE UDP handshakes on port 8189—if UFW or NAT drops UDP, browsers hang at ICE checking.
RTMP Ingest Stall
When publisher bitrate spikes above 8-12 Mbps over long-haul TCP, small socket buffers and undersized writeQueueSize cause OBS to drop frames and reset RTMP.
LL-HLS Segment 404s
Writing 200ms LL-HLS parts every fifth of a second onto shared HDD/SSD volumes creates fsync stalls that cause players to fetch expired segments and hit HTTP 404.
SRT Packet Loss & Jitter
When field encoders push SRT over LTE or trans-continental links with latency=20ms, ARQ retransmits expire before arrival, producing macroblocking and audio clicks.
Container OOM Exit 137
Go MediaMTX alone takes 90-450 MB RSS, but spawning a 3-rung FFmpeg ABR pipeline plus /dev/shm HLS rings inside a 1-2 GB container triggers Linux cgroup Exit 137.
maxReaders & ulimit Caps
Default systemd LimitNOFILE (1024) and conservative maxReaders caps reject new viewers around 400-800 concurrent connections even when bandwidth is available.
AWS IVS & CF Stream Overages
Managed streaming APIs bill every viewer-minute ($1.00/1,000 mins on Cloudflare Stream; ~$1.35+/1,000 mins on AWS IVS)—turning 350 viewers for 120 hrs/mo into $2,520+/mo.