diff --git a/mediamtx/mediamtx.yml b/mediamtx/mediamtx.yml index ceafde2..8a48890 100644 --- a/mediamtx/mediamtx.yml +++ b/mediamtx/mediamtx.yml @@ -25,7 +25,13 @@ rtmpAddress: :1935 hls: yes hlsAddress: :8888 -hlsVariant: lowLatency +# Standard HLS, not lowLatency: LL-HLS's small per-part buffering window has very little +# tolerance for B-frame reordering (common in most OBS encoder presets), and a real test +# stream crashed the muxer twice in ~2 minutes with "too many reordered frames" / "unable to +# extract DTS" once frame timing got even slightly irregular. Standard HLS buffers a full +# segment before finalizing, which absorbs that jitter — a few extra seconds of latency +# instead of intermittent muxer crashes / viewer buffering. +hlsVariant: mpegts hlsAlwaysRemux: yes hlsAllowOrigins: ["*"]