Streamer guidance: B-frames 0 (MediaMTX refuses WebRTC playback of H.264 with B-frames)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
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.
|
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 → Tools → WebSocket Server Settings → enable, set a password.
|
||||||
OBS → Docks → Custom Browser Docks → `https://live.BASE/dock/` → log in with Discord once.
|
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
|
In the dock's Settings: ingest host (prefilled), OBS WebSocket password/port, optional title prefix/suffix
|
||||||
|
|||||||
@@ -54,6 +54,7 @@
|
|||||||
<ol>
|
<ol>
|
||||||
<li>OBS → Tools → WebSocket Server Settings → enable, set a password.</li>
|
<li>OBS → Tools → WebSocket Server Settings → enable, set a password.</li>
|
||||||
<li>OBS → Docks → Custom Browser Docks → add <code id="dockurl">…/dock/</code>; log in with Discord inside the dock.</li>
|
<li>OBS → Docks → Custom Browser Docks → add <code id="dockurl">…/dock/</code>; log in with Discord inside the dock.</li>
|
||||||
|
<li>OBS → Settings → Output → encoder <b>B-frames: 0</b> (NVENC "Max B-frames"). With B-frames the live page cannot play you over WebRTC and falls back to a delayed HLS view.</li>
|
||||||
<li>Dock → Settings: OBS WebSocket password (the rest is prefilled). Optional title prefix/suffix (<code>{date}</code> = today).</li>
|
<li>Dock → Settings: OBS WebSocket password (the rest is prefilled). Optional title prefix/suffix (<code>{date}</code> = today).</li>
|
||||||
<li>Dock → Timecode band → <b>Add band + clock source</b> while not streaming (gives editors a frame-accurate timecode).</li>
|
<li>Dock → Timecode band → <b>Add band + clock source</b> while not streaming (gives editors a frame-accurate timecode).</li>
|
||||||
<li>Per stream: type a title, <b>Go Live</b>. The dock mints a 12-hour token and sets your stream key itself.</li>
|
<li>Per stream: type a title, <b>Go Live</b>. The dock mints a 12-hour token and sets your stream key itself.</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user