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.
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.
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.
The encoder picker listed every kind the daemon knows, so a machine with
an AMD card could choose NVENC and only find out when a recording failed
to start. The list now holds what the encoder probe reports as present,
hardware before software, and a saved preset the machine cannot run
switches to the first one with a note saying so.
Recording drops the hardware acceleration switch and the frame rate
field. Both were decided by the encoder and the quality preset, and the
switch in particular changed nothing the daemon reads.
The tab lists the audio sources it will mix, so the game, the microphone
and the added applications are visible without opening the Audio tab,
and the open folder button sits at the right of the recording folder
row where the other rows keep their controls.
Save now writes. The reply to updateSettings carries no settings, which
parsed into a set of defaults and started the screen over; a reply
without them is an error instead. The button shows Saving while the
round trip runs and the form goes clean only once the daemon has the
values.
The add row under the sources offered a type selector for device
sources, which the daemon cannot capture reliably, and nothing told a
right process name from a wrong one. A plus in the card header now
opens a dialog asking for a name and a process, and Add stays grey
until both are filled.
Every source shows its executable's icon, read from the running
process or found on disk when the program is closed, and a chip saying
whether that process is running. The process table is read off the UI
thread every couple of seconds while the audio tab is open, and the
disk search remembers its misses so a name costs one walk per run.
Settings drops Refresh and Settings from the title bar, where both only
repeated what the screen already shows.
The colours were rune's neutral defaults, so nothing tied the screens
together. app/src/theme.rs now holds the palette: near-black surfaces
tinted blue, brass for what the user acts on, mint and coral kept for
results so champion art stays the loudest thing on screen. A test
fails the build if a colour that carries text drops under 4.5:1 in
either appearance.
Settings lose the empty General tab: Quick holds quality, the audio and
microphone switches, startup and the recordings folder; Recording keeps
the encoder and output; Audio is three cards instead of five; Advanced
absorbs the audio bitrate and reset. The back button moves to the left
of the title bar, where window navigation belongs, and text fields
right-align their value like every other control on the row.
The microphone picker lists the devices with "System default" first,
naming the default endpoint under the row.
Two smaller repairs found on the way: the app picked
record-daemon/target/release before debug, so it talked to a stale
daemon after a debug build (the newest build now wins), and --snap
forwarded its arguments to a running window instead of rendering.
getAudioDevices handed out the hardcoded fallback pair because the real
enumeration killed the process: the device enumerator outlived its COM
apartment, so CoUninitialize() ran while an interface was still alive.
The enumeration now runs on a thread of its own, and the apartment is a
value declared after the COM objects so it is dropped after them.
The friendly name read used the wrong property key GUID, so every
device came back as "Input Device 1". With the right key the app gets
"Microphone (Insta360 Link 2C)" and the other endpoint names.
log_file also loses its -l short flag: clap's debug assertions reject
it because log_level already owns -l, and a debug build of the daemon
therefore exited on startup before serving a single command.
Cards and the review header showed two initials where a champion
portrait belongs. Data Dragon is fetched from a worker thread and cached
under the user's cache directory, so the first sight of a champion puts
its face on the card and later runs read it from disk; offline, the tile
keeps its initials on the champion's colour.
The review screen put the clip in a small box above two list columns.
The clip now fills the window at 16:9 and the highlights and timeline
open beside it on demand, so nothing shrinks the video by default and
every event still marks the scrubber.
Scroll bars were a thumb drawn over the cards that could not be
dragged. They now sit in a strip the content leaves free, stay visible
while the list overflows, and scroll the viewport when dragged.
`--scene review --live` opened the screen before the timelines were read
and stayed on "No game selected". The screen now remembers the request and
opens the first game that has events when the list arrives.
A recording with no champion gets a neutral tile instead of a colour
picked from an empty name. The README lists `--scene many`, which repeats
the sample games to fill the list, and says why the scrollbar needs
`--at 1`.
Every event in the recording gets a tick: kills and deaths coloured by
whether they were the player's, objectives and LP changes in the accent,
game start and end muted. Highlights sit on the track as bands.
The summoner carries a #TAG that the live client data's KillerName does
not, so involvement never matched and every game showed 0 highlights.
Names are compared without the tag now.
The titlebar offered "Start recording" although the recorder starts with a
game; Settings takes that button's place. The two-tab sidebar becomes a
status bar that also names the encoder, and the blue square beside the name
is gone.
Match cards show a champion tile: initials on a colour derived from the
name until there is an image cache. History, review and settings lists get
a scrollbar that follows the viewport in the same frame.
Settings keeps the one switch a player can act on, launch at startup, and
says in plain words that recording starts with a game. The recorder's own
toggles and the client poll interval move to Advanced.
Our crate is warning-free under `cargo clippy --all-targets`. The two
vendored crates warned about an unreachable expression and a qualified
path; both are silenced at their crate root so a normal build prints
nothing.
The pipe path was missing a backslash, so every client call went to a
path Windows never resolves and the app reported a dead daemon. With the
path fixed, --probe answers against the running daemon and parses its
settings with the app's model; a recording made through it lands on disk.
Reading a large history (288 timelines, 524 MB of raw API responses) took
eleven seconds, so the files are parsed on up to eight threads now. The
history refresh also runs in headless runs, and `--live` renders a
snapshot from the daemon and the real timelines instead of sample data.
Each configured source gets a slider that sends updateAudioSource as it
moves, so a change is heard while dragging. The demo data now includes two
application sources and a microphone, which the screenshots use.
Also look the game up by recording id in the review screen, so a refresh
that adds a recording does not change what is open.
Replaces the Vue/Tauri front end with a rune app that speaks the daemon's
existing IPC protocol: settings (general, recording, audio), match history
and game review with a scrubber, event markers and ffmpeg highlight export.
Includes tray icon, launch at login, single instance, toasts, a headless
snapshot path for checking screens, and a cargo-packager NSIS config.
Rune is pinned to 4ddf696b0f and its three patched crates are vendored under
app/vendor, since a dependency's [patch.crates-io] does not apply to the app.
The daemon's OBS bootstrap never reached its IPC server on this machine, so
the live check is a `--probe` command; the wire format is covered by tests.
- 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
- Add tauri-plugin-autostart dependency to Cargo.toml
- Add autostart permissions to capabilities/default.json
- Initialize autostart plugin in lib.rs with LaunchAgent config
- Add "Launch at Startup" toggle in Settings.vue Daemon tab with state management and async enable/disable functions