- Rust 93.2%
- PowerShell 5.7%
- C 0.5%
- HLSL 0.4%
- Batchfile 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Video now opts into an unreliable media channel and audio states Reliable
explicitly, rather than both inheriting a hardcoded default.
`rudp_media_transport_options_follow_low_latency_profile` has asserted
Unreliable since it was written and has never passed. It was not aspirational:
CultNet hardcoded the media channel Reliable in both the profile builder and the
send path, so Muninn had no way to express the intent. Muninn signalled it the
only way available, by passing no reliable expiry — meaning "unreliable, so
expiry is moot" — and got reliable delivery instead.
Measured on Raven through `cultnet-impair`, 848-byte packets at 12 Mbps, which
is Muninn's real shape:
profile mode delivered
clean unreliable 100.00%
clean reliable 69.10%
loss 1% unreliable 98.95%
loss 1% reliable 72.00%
loss 3% unreliable 96.73%
loss 3% reliable 73.30%
The reliable channel loses 31% of a clean 12 Mbps offer, and its delivery barely
moves as loss rises, so loss was never the binding constraint — it cannot carry
this rate at all. The unreliable channel holds every packet on a clean link and
then degrades by roughly the loss injected, which is what a media lane should
do. Reverse traffic differs by three orders of magnitude: 43 bytes of
acknowledgement against ~135,000.
An earlier draft of this message argued the defect was retransmission amplifying
load under loss. The measurement does not support that mechanism. The conclusion
survives it; the reasoning did not.
Audio passes Reliable explicitly and does not change. That pairing is still
wrong — 3 Mbps of uncompressed PCM does not belong on a reliable channel — but
that is the Opus change, and inheriting the right value silently is what
produced this bug.
Requires CultLib's `claude/media-channel-delivery`. The dependency pin still
points at c13b6ba and must be moved before this builds from a clean checkout.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
||
| crates | ||
| docs | ||
| native | ||
| scripts | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
Muninn
Local capture broker for the GameCult swarm.
Muninn resolves what data streams a host can offer, advertises them, and serves them to CultMesh peers on request. Screen and loopback audio, cameras, PS Move controllers and their optical markers, HID and XInput gamepads, Quest access.
Muninn running does not mean Muninn is broadcasting. Each feed it can reach is available for another service to request. Mimir asks for sensors. Sleipnir asks for input. A stream asks for screen and audio. Muninn does not decide what any of them are for.
Extracted from Odin with its full history.
Muninn had lived as three crates inside the repository of the service that
discovers it, with its document schemas owned by odin-core — an inversion of
the ownership it needs to hold. Same shape as the
Idunn extraction of 2026-09-05, and done
deliberately after it.
Status
This repository does not build yet. It is a faithful history extraction, not
a finished cut. muninn-daemon still depends on odin-core by path for the
twenty record types and schema constants it uses, and that dependency is one of
the things being removed.
See docs/teardown-map.md for the working map: current
body, the authorities currently fused into one 14,567-line main.rs, schema
decomposition, extraction blast radius, and the measured diagnosis of the audio
decay that prompted the rebuild.
Authority
- Owner: Muninn owns local source enumeration, capability advertisement, per-consumer stream grants, and transport of granted streams.
- Input: locally reachable devices; typed capture stream commands from requesting peers.
- Output: CultMesh Media Streams and typed sensor records.
- Not Muninn's: the media protocol itself (a general CultMesh contract, owned by CultLib), discovery and rendezvous (Odin), deployment and continuity (Idunn), the hue programs that decide what colour a Move should be (Mimir), and any consumer's lowering — OBS, browser, or otherwise.
Muninn is one producer of a general contract. It is not the contract.