From f0602771673a4746baf114bfd42858a137d22813 Mon Sep 17 00:00:00 2001 From: Brandyn / Techy Date: Sun, 1 Nov 2026 13:29:34 -0600 Subject: [PATCH] Streamer guidance: B-frames 0 (MediaMTX refuses WebRTC playback of H.264 with B-frames) Co-Authored-By: Claude Fable 5.1 --- README.md | 3 +++ about/index.html | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index c13cee2..817af72 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,9 @@ Being a streamer = being in the Authentik **streamers** group (a Discord role vi There are no stream passwords or keys to hand out: the dock mints a **12-hour publish token** for the logged-in Discord user each time Go Live is pressed and sets it as the OBS stream key itself. +OBS → Settings → Output → Encoder: **B-frames = 0** (NVENC "Max B-frames: 0"; x264 add `bframes=0`). MediaMTX +refuses WebRTC playback of H.264 with B-frames ("WebRTC doesn't support H264 streams with B-frames"), so the live +portal would fall back to HLS with seconds of delay. Keyframe interval 2 s. Recording quality is unaffected. OBS → Tools → WebSocket Server Settings → enable, set a password. OBS → Docks → Custom Browser Docks → `https://live.BASE/dock/` → log in with Discord once. In the dock's Settings: ingest host (prefilled), OBS WebSocket password/port, optional title prefix/suffix diff --git a/about/index.html b/about/index.html index f66d8d9..758e764 100644 --- a/about/index.html +++ b/about/index.html @@ -54,6 +54,7 @@
  1. OBS → Tools → WebSocket Server Settings → enable, set a password.
  2. OBS → Docks → Custom Browser Docks → add …/dock/; log in with Discord inside the dock.
  3. +
  4. OBS → Settings → Output → encoder B-frames: 0 (NVENC "Max B-frames"). With B-frames the live page cannot play you over WebRTC and falls back to a delayed HLS view.
  5. Dock → Settings: OBS WebSocket password (the rest is prefilled). Optional title prefix/suffix ({date} = today).
  6. Dock → Timecode band → Add band + clock source while not streaming (gives editors a frame-accurate timecode).
  7. Per stream: type a title, Go Live. The dock mints a 12-hour token and sets your stream key itself.