2.5 KiB
2.5 KiB
Raven Capture Mux Daemon
Raven owns local display capture and Realtek render-loopback capture. Mimir receives the muxed stream and decides what it means inside the synchronized program model.
Authority Map
- Owner:
Mimir.RavenDaemonowns process supervision and typed status for Raven's capture mux. - Inputs: local display capture parameters, WASAPI render-loopback selection, FFmpeg path, SRT target, log root, and operator flags.
- Outputs:
mimir.raven_capture_mux_state.v1, an Eve dashboard surface, health JSON, and the FFmpeg SRT MPEG-TS stream. - Derived state: PID, restart count, log paths, and dashboard nodes are derived from the supervised process and daemon options.
- Forbidden writers: capture scripts may still launch diagnostics, but they do not own daemon status or the canonical Raven mux state.
- Shared paths: service launch, dry run, health checks, and Eve dashboard projection all read the same
MimirRavenCaptureMuxStateDocument. - Cut line: no OBS plugin, custom media daemon, or alternate transport owns media in this pass. FFmpeg/WASAPI own capture and mux; CultMesh owns status and operator surface.
Run On Raven
From a Mimir checkout on Raven:
.\scripts\start-raven-daemon.ps1
Defaults:
- Target:
srt://10.77.0.2:5200 - Eve/CultMesh dashboard:
ws://0.0.0.0:8801/eve/deck - Binary CultMesh dashboard stream:
ws://0.0.0.0:8801/eve/deck/cultmesh - Health:
http://127.0.0.1:8801/health - State cache:
C:\Meta\Mimir\state\raven-capture-mux.ccmp - Logs:
C:\Meta\Mimir\logs
Use a dry run to inspect the exact FFmpeg pipeline without starting capture:
.\scripts\start-raven-daemon.ps1 -DryRun
Use a specific Realtek render endpoint when Windows exposes more than one:
.\scripts\start-raven-daemon.ps1 -AudioDevice "Realtek"
If Raven already has a host-level CultMesh server bound, keep this daemon as a local typed-state publisher and Eve endpoint:
.\scripts\start-raven-daemon.ps1 -NoCultNetServer
Receiver Shape
The daemon sends one MPEG-TS SRT stream containing:
raven-display: Raven desktop viaddagraborgdigrab, encoded withh264_nvencraven-realtk-loopback: Raven render loopback viaMimir.WasapiLoopbackor the PowerShell WASAPI fallback, encoded as AAC
Existing demux/receiver tooling can split that stream back into the video and audio source lanes. The typo in the existing source id, raven-realtk-loopback, is preserved until the receiver config is migrated.