record-daemon: keep app audio attached across recordings
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.
This commit is contained in:
1 parent
9f5f1f669d
commit
365e4ad732
5 files changed
+793
-202
No files matched your search
@@ -88,6 +88,8 @@ windows = { version = "0.58", features = [
|
||||
"Win32_UI_Shell_PropertiesSystem",
|
||||
"Win32_Foundation",
|
||||
"Win32_Devices_Properties",
|
||||
"Win32_System_Diagnostics_ToolHelp",
|
||||
"Win32_UI_WindowsAndMessaging",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
Reference in new issue
Block a user