Migrate Mimir media bridge to RUDP

This commit is contained in:
Meta Vens 2026-06-16 18:08:40 +01:00
commit 4ed4ba190b
13 changed files with 771 additions and 36 deletions

View file

@ -257,13 +257,12 @@ video archive. Yggdrasil relays CultNet reliable UDP over the WireGuard mesh.
Starfire lowers the subscribed stream to local UDP for compatibility sinks
because OBS is not a CultMesh runtime.
Source audit correction: the desired transport is explicit CultNet RUDP, and
CultLib now provides C# `CultMesh.CreateRudpServer`,
`CultMesh.CreateRudpClient`, and authorized-peer helper APIs. The current
`Mimir.CultMeshMedia` source still uses older `CultMesh.StartNodeAsync` and
`CultMesh.ConnectClient` entrypoints. Treat that as migration debt: the bridge
should be cut to explicit RUDP helpers before it is considered aligned with the
daemon-swarm transport doctrine.
Source audit correction resolved: `Mimir.CultMeshMedia` now uses explicit
CultLib RUDP helpers for the sender/receiver and a relay-owned RUDP
socket/session loop for multi-peer forwarding. The older
`CultMesh.StartNodeAsync` and `CultMesh.ConnectClient` path no longer owns this
media lane. The relay still persists received puts to CultCache as evidence and
for inspection; live network transit is the RUDP schema-document path.
Current deployment: Yggdrasil runs the relay from
`/opt/gamecult/mimir-cultmesh-media/Mimir.CultMeshMedia` with cache
@ -315,7 +314,8 @@ browser/dashboard WebSocket paths are still renderer/client lowerings. They may
remain as lowering adapters, but any provider catalog, retained service state,
command boundary, transport profile, or lifecycle health claim must be
published as typed CultNet/RUDP records instead of being inferred from those
TCP/WebSocket surfaces.
TCP/WebSocket surfaces. The media-frame bridge is already on that side of the
line.
## Audio Field

View file

@ -25,10 +25,10 @@ Get-Content .\state\evidence.jsonl -Tail 8
- V1 now also has an explicit CultMesh media bridge for Raven program feeds:
`src/Mimir.CultMeshMedia` sends rolling `mimir.cultmesh_media_frame`
documents over CultNet reliable UDP through Yggdrasil and lowers them on
Starfire to local MPEG-TS UDP for OBS. Source audit warning: the current C#
bridge still uses older `CultMesh.StartNodeAsync`/`CultMesh.ConnectClient`;
migrate it to explicit C# RUDP helpers before treating the media bridge as
fully aligned with the swarm transport cut.
Starfire to local MPEG-TS UDP for OBS. The bridge now uses explicit CultLib
RUDP helpers/session plumbing; the old
`CultMesh.StartNodeAsync`/`CultMesh.ConnectClient` path no longer owns this
media lane.
- CultLib has moved the daemon-swarm direction to CultNet over RUDP across
runtimes. Mimir's typed daemon truth should default to
`cultnet.transport.rudp.v0`; TCP/HTTP/WebSocket are client lowerings,
@ -103,9 +103,9 @@ Get-Content .\state\evidence.jsonl -Tail 8
dashboard boundary cut is provider advertisement, retained state,
command_boundary, and transport_profile over RUDP so HTTP/WebSocket catalog
ingestion can be demoted to client/debug lowering.
- Cut `Mimir.CultMeshMedia` to explicit CultNet RUDP helpers next; no new TCP,
HTTP, or WebSocket surface should be allowed to become daemon or transport
truth.
- Cut the remaining Eve dashboard, recorder, and witness service truth paths to
explicit CultNet RUDP records next; no new TCP, HTTP, or WebSocket surface
should be allowed to become daemon or transport truth.
- Kiyo Pro has two UVC extension units. Moving it to a motherboard USB3 port
changed the descriptor path to `root_hub30` / `bcdUSB=0x0320` and exposed
720p/1080p YUY2/MJPG/H264/NV12 at 60 fps, but Windows still reports