Commit Graph
13 Commits
Author SHA1 Message Date
vhaudiquet 9f5f1f669d record-daemon: keep one recorder running per machine
One test recording produced two half-files: the game in one, the
microphone in the other. Two daemons were alive at once, each with its
own OBS, and only one of them won the game's capture hook and its audio.
Any launch path can start a daemon (the app when it cannot reach the
pipe, the tray, a manual run) and the pipe server accepts a second
instance without complaint, so nothing stopped the second copy.

The daemon now claims a lock file in its configuration directory before
booting OBS. On Windows the file is opened with a share mode of zero, so
a second open fails with a sharing violation; on Unix an exclusive
flock does the same. The loser logs which process holds the lock and
exits, leaving the running recorder alone. Closing the handle releases
the lock, so a crash does not leave the machine without a recorder.
2026-11-16 22:20:51 +01:00
vhaudiquet 2e98159083 fix: apply audio volumes, enumerate real devices, remove dead code
- 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
2026-11-13 00:06:16 +01:00
vhaudiquet 4f9f84446d feat: add custom audio sources
- 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
2026-11-12 23:17:26 +01:00
vhaudiquet 953a920a23 bump version (0.3.0 start)
record-daemon / Build, check and test (push) Successful in 2m21s
2026-06-16 22:05:22 +02:00
vhaudiquet 598c5a2391 feat: record-daemon logs to a file 2026-05-30 10:41:40 +02:00
vhaudiquet ab0b538162 record-daemon: fix obs bootstrapping
record-daemon / Build, check and test (push) Failing after 13m52s
2026-05-18 13:43:09 +02:00
vhaudiquet 8e885ffc64 record-daemon: obs-context refactoring, gpu detection code
record-daemon / Build, check and test (push) Failing after 48s
2026-03-21 18:54:01 +01:00
vhaudiquet 5121a46533 record-daemon: fix linux builds
record-daemon / Build, check and test (push) Failing after 55s
record-daemon / Build Windows (xwin) (push) Has been skipped
2026-03-21 13:40:10 +01:00
vhaudiquet 8c83404191 record-daemon: update dependencies 2026-03-21 00:57:18 +01:00
vhaudiquet 1166424c29 record-daemon: fix obs recording 2026-03-20 20:34:44 +01:00
vhaudiquet 2ddb953321 record-daemon: fix league websocket connection 2026-03-19 18:38:51 +01:00
vhaudiquet f062cee010 record-daemon: fix windows build 2026-03-19 18:17:31 +01:00
vhaudiquet d6c0334369 record-daemon: initial commit 2026-03-19 17:48:07 +01:00