Skip to main content
LIVE_HUD STREAMRELAY LAB // MEDIAMTX RTMP -> LL-HLS / WHEP / SRT AUDIT 2026-11-19 | GO RSS: 90-450 MB | EGRESS: UNMETERED VDS VS 10 GBPS
MediaMTXRTMP
MediaMTXRTMP Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
StreamRelay Lab // TRIAGE INDEX

Broadcast Remediation Hub: mediamtx.yml, FFmpeg ABR & Sysctl

Eight production-tested remediation playbooks covering hardened mediamtx.yml, 1080p+720p+480p FFmpeg ABR ladders, /dev/shm tmpfs segment rings, and 10 Gbps kernel tuning.

StreamRelay Lab reference architecture: RTMP/SRT ingest -> Go MediaMTX zero-copy mux -> /dev/shm LL-HLS & WebRTC WHEP :8189.
StreamRelay Lab reference architecture: RTMP/SRT ingest -> Go MediaMTX zero-copy mux -> /dev/shm LL-HLS & WebRTC WHEP :8189.

8 Production Fix Guides

FIX 01 // MEDIAMTX.YML

Hardened mediamtx.yml

A single tuned mediamtx.yml turns a Go binary using 90-450 MB RSS into a multi-protocol relay serving OBS RTMP/SRT ingest simultaneously over LL-HLS and WebRTC.

FIX 02 // FFMPEG ABR

FFmpeg 3-Rung ABR Ladder

When viewers on mobile connections buffer on a 10 Mbps source stream, a 3-rung FFmpeg ABR ladder lets players drop seamlessly to 720p or 480p without stalling.

FIX 03 // TMPFS RAMDISK

/dev/shm tmpfs HLS Ring

Keeping your 7-second live HLS segment buffer in kernel RAM eliminates 432,000+ daily disk writes and guarantees sub-millisecond .m4s reads at 3,000 viewers.

FIX 04 // WHEP UDP 8189

WHEP UDP 8189 & UFW

Separating HTTPS WHEP signaling (port 443 -> 8889) from direct UDP media multiplexing (port 8189) unlocks reliable 250ms WebRTC playback across browsers.

FIX 05 // SYSCTL BBR

Linux sysctl BBR & 10G

Default Linux kernel TCP cubic settings and 212 KB UDP receive buffers throttle long-distance HLS players and drop SRT/WebRTC packets under 2-8 Gbps fan-out.

FIX 06 // SRT TUNING

SRT Passphrase & Latency

Replace plaintext RTMP ingest over public Wi-Fi or cellular uplinks with AES-encrypted SRT on UDP :8890 that survives 2-5% packet loss.

FIX 07 // SYSTEMD SERVICE

Systemd ulimit & Service

Running MediaMTX via a hardened systemd unit guarantees clean /dev/shm directory creation, 1M+ open socket capacity, and instant restarts without Docker NAT overhead.

FIX 08 // TLS & CORS

Caddy/Nginx HLS Proxy

Web players (hls.js, Video.js, Shaka) fail silently on cross-origin manifests unless your reverse proxy strips stale .m3u8 caches and sets clean CORS headers.

MediaMTXRTMP: UltaHost Unmetered VDS from $37.50/mo | InterServer $12/mo Launch Unmetered VDS