You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: obs-browser: browser source audio pushes OBS's audio buffering to 960 ms within a minute #2335
With a Browser Source using "Control audio via OBS", OBS's global audio buffering climbs to its 960 ms maximum within about a minute of use. The log shows total audio buffering is now 960 milliseconds (source: <browser source>).
Who it hurts: the buffering applies to every source and stays at 960 ms until OBS restarts. So one alert box with sound adds close to a second of lasting audio latency to the whole stream.
Cause (from the #2328 research runs; to be confirmed)
CEF starts a new loopback capture each time the page becomes audible, for example on each alert, and stops it 2 s after the page goes quiet.
Under load, the first packets of a new stream arrive hundreds of ms late, but carry their real capture timestamps.
libobs then treats the source as behind, and raises the global buffering to cover it (libobs/obs-audio.c.h buffering logic). Buffering only ever ratchets up.
GREEN: in obs-browser's OnAudioStreamStarted/first packets, re-anchor or clamp the first packets of a new stream, or drop the late leading packets, so a late start doesn't raise global buffering. Check with libobs's audio timing (obs-source-audio-timing.c.h) for the right hook.
Activity
rdoupe commentedon Oct 25, 2026
Claiming: #2335.
test: browser audio buffering under load
Drop browser audio that arrives too late to mix
obs-browser: Update to 4583599 (sandbox, fallback warning, audio fixe…