OBS starts with the daemon and builds one scene, and every recording reuses it.
The process captures that used to be created per recording stay in that scene, so
a game or Discord window that disappears mid-session keeps feeding the mix.
The captures come from a watcher that scans for a window every two seconds: a
process with no window cannot be opened, so each source waits for its app to show
one, and a new window means the process restarted and needs a fresh source.
Settings now travel to the engine, and an audio change swaps only the device
captures. Applying them used to clear the scene, which took the process captures
with it.
Recordings came back silent apart from the microphone. win-wasapi's
process capture looks a window up from one setting, "window", a string
of title, class and executable joined by colons; the video source got
that string, the audio sources got "executable", "title" and "class" as
separate keys, which the plugin never reads. Both sources therefore had
nothing to hook, and the game and Discord tracks were empty.
window_string builds the value the plugin expects, escaping ':' and '#'
the way libobs decodes them, so a title with a colon in it still splits
into three fields. The game source asks for the League window by
executable, and an application source asks for its process the same way.
Checked against a recording: a process source for a browser playing a
loop now opens the loopback device for it, where before the plugin
logged "Failed to find window" for every audio source but the mic.
OBS's own log now goes into the daemon log under the obs target. A
daemon started in the background has no console, so its warnings about
a hook that never landed or a device that vanished were being thrown
away, and those are the lines that explain a silent track.
- Audio sources were created but never added to the scene, so mic,
game and app audio never reached the output; all sources are now
added with their configured volume via obs_source_set_volume
- getAudioDevices enumerates real WASAPI devices again instead of
returning hardcoded defaults (the crash-isolation bypass)
- Recording module split: encoder selection and output building move
to their own files; obs_context shrinks from 1556 to 464 lines
- Remove unused IPC (recordings/timeline/export commands), the
CommandHandler trait, crash marker files, and the stats plumbing
that was never wired to the frontend
- Deduplicate the LCU reconnect logic into connect_and_listen
- Add capture_apps list of AudioSourceConfig (application, deviceOutput
or deviceInput) to AudioSettings, serialized in the settings JSON
- Add IPC commands getAudioDevices, addAudioSource, removeAudioSource
and updateAudioSource
- obs_context builds wasapi sources for the microphone and configured
apps alongside the game-capture source
- Settings.vue gains an audio sources tab with device dropdowns and
per-source volume
- getAudioDevices temporarily returns hardcoded defaults while the
WASAPI enumeration crash is investigated; crash marker files around
IPC and native call sites are part of that investigation