The recorder put every source on one mixer track, so the file had one audio
stream and the review screen could not tell the game's sound from the
microphone or from Discord.
The daemon now gives each source a track: 1 for the game, 2 for the
microphone, then one per application in the settings, up to OBS's six. Every
track above the first gets an audio encoder and the output is told which
tracks to write, which is what libobs's muxer reads to lay the streams out in
track order. The timeline's new `audio_tracks` names what each stream holds,
with empty names for the tracks no source fed.
The app opens one player per stream, copied out of the clip into the audio
cache, and the transport carries a toggle per channel. A channel that is off
is neither heard nor kept: clip and highlight exports mix only the tracks
left on. Recordings made before this change have one stream and play as they
did.
An end-to-end run of mine put its settings through updateSettings, which
wrote them to the user's real config: output path in %TEMP%, a "probe"
application, 30 fps. The next game recorded into %TEMP%, so it showed up
in the history with its metadata and no video beside it.
RECORD_DAEMON_HOME now moves the config directory, the recordings, the
logs and the IPC pipe under one directory. The app reads the same
variable, so a probe talks to the scratch daemon instead of the real one.
Default paths are unchanged.
The daemon also logs its config and recordings paths at startup, which is
the first thing to look at when a recording has no video.
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.
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.
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.