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 Errors // StreamRelay Lab

SRT Caller/Listener Packet Loss & ARQ Latency 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.

Measured MediaMTX & FFmpeg Telemetry

SRT relies on UDP Automatic Repeat reQuest (ARQ) within a configured latency window. If network RTT is 80 ms, the SRT latency buffer must be at least 3x to 4x RTT (240-320 ms) for lost packets to recover cleanly.

Subsystem / SignalMeasured TargetOperational Impact
LAN / Same-Region RTT <15mslatency=120000 (120 ms)Smooth recovery under 1% loss
Cross-Continent RTT 70mslatency=250000 (250 ms)Handles 3x RTT ARQ retransmits
Cellular / Unstable Uplinklatency=500000 (500 ms)Eliminates macroblocking bursts

Step-by-Step Triage & Config Remediation

  1. Check RTT before setting latency: Measure ping RTT to the MediaMTX node and set SRT latency >= 3.5x average RTT.
  2. Verify MediaMTX streamid format: Use publish:live/ingest in OBS SRT URL query string (?streamid=publish:live/ingest).
  3. Open UDP 8890 and increase rmem_max: Raise net.core.rmem_max=26214400 so kernel UDP buffers do not drop SRT bursts.
# OBS SRT Server URL example for MediaMTX:
srt://your-node.example:8890?streamid=publish:live/ingest&latency=250000

Diagnostic FAQ

Why does MediaMTX reject my OBS SRT connection immediately?

Most rejections happen because streamid lacks the publish: prefix (publish:live/ingest) or passphrase length violates SRT 10-79 char limits.

Is SRT better than RTMP for 10-12 Mbps ingest?

Yes. SRT recovers single lost UDP packets without stalling the entire TCP window.

Related Broadcast Errors Guides

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