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).
Broadcast Fixes // StreamRelay Lab

SRT Encryption, streamid ACLs & RTT-Matched Latency Buffers

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

Measured MediaMTX & FFmpeg Telemetry

MediaMTX natively speaks SRT caller and listener modes without FFmpeg wrappers, enforcing path-level passphrases and publishing credentials directly in YAML.

Subsystem / SignalMeasured TargetOperational Impact
AES Encryptionpbkeylen=16 or 32Zero-noticeable CPU overhead in Go/libsrt
Recommended Buffer3.5x link RTT (min 120ms)Clean ARQ retransmission window
SRT Port FootprintSingle UDP :8890Supports multiple concurrent encoders

Step-by-Step Triage & Config Remediation

  1. Enable srt: yes in mediamtx.yml: Bind srtAddress: :8890 and define per-path srtPublishPassphrase.
  2. Match encoder passphrase: Use a 16-32 character passphrase and ?streamid=publish:live/ingest in OBS.
  3. Verify live recovery: Monitor MediaMTX logs for SRT packet retransmit counts under mobile network testing.
srt: yes
srtAddress: :8890
paths:
  live/ingest:
    source: publisher
    srtPublishPassphrase: "ReplaceWithStrong32CharSrtSecret"

Diagnostic FAQ

Can viewers also watch via SRT from MediaMTX?

Yes, MediaMTX supports SRT readers using streamid=read:live/ingest on the same UDP :8890 port.

Does OBS Studio support SRT natively?

Yes, OBS Studio 28+ supports SRT URLs directly under Settings -> Stream -> Custom.

Related Broadcast Fixes Guides

MediaMTXRTMP: Size egress Mbps & ABR cores before go-live Deploy InterServer 10G