From 196696532a37d3b3e30d0a9c17bbc828bdc69cfc Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 18 Jun 2026 23:25:10 +0100 Subject: [PATCH] Clarify Muninn RUDP media profile ownership --- crates/muninn-daemon/src/main.rs | 31 +++++++++++++++++++++++++++++-- src/Idunn/README.md | 11 +++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/crates/muninn-daemon/src/main.rs b/crates/muninn-daemon/src/main.rs index a70f1b8..64f1874 100644 --- a/crates/muninn-daemon/src/main.rs +++ b/crates/muninn-daemon/src/main.rs @@ -1575,8 +1575,7 @@ fn muninn_media_rudp_options( ); options.resend_delay_ms = media_profile.sender_resend_delay_ms; options.max_fragment_bytes = Some(media_profile.max_fragment_bytes as u32); - options.media_reliable_expire_after_ms = - Some(media_profile.sender_reliable_expire_after_ms); + options.media_reliable_expire_after_ms = Some(media_profile.sender_reliable_expire_after_ms); options } @@ -1823,6 +1822,9 @@ fn publish_runtime_boundary_records( "media_profile": { "profile_id": media_profile.profile_id, "owner": "Muninn capture runtime", + "strategy": "hardware-codec-owned-prediction-over-fixed-budget-rudp", + "visual_prediction_owner": "NVENC H.264 inter-frame prediction", + "transport_owner": "CultNet RUDP media channel", "codec": media_profile.video_codec, "encoder": media_profile.video_encoder, "encoder_preset": media_profile.video_preset, @@ -1841,6 +1843,7 @@ fn publish_runtime_boundary_records( "sender_reliable_expire_after_ms": media_profile.sender_reliable_expire_after_ms, "receiver_assembly_deadline_ms": media_profile.receiver_assembly_deadline_ms, "receiver_gap_wait_ms": media_profile.receiver_gap_wait_ms, + "late_media_policy": "drop expired queued media; do not repair frames outside the latency budget", "recovery": "receiver feedback may request keyframe; sender restarts low-latency encoder on new keyframe edges" }, "compatibility_mechanisms": compatibility_mechanisms, @@ -6939,6 +6942,24 @@ Device 00:07:04:A8:00:D0 (public) .and_then(|value| value.as_str()), Some(MUNINN_RUDP_MEDIA_PROFILE_ID) ); + assert_eq!( + media_profile + .get("strategy") + .and_then(|value| value.as_str()), + Some("hardware-codec-owned-prediction-over-fixed-budget-rudp") + ); + assert_eq!( + media_profile + .get("visual_prediction_owner") + .and_then(|value| value.as_str()), + Some("NVENC H.264 inter-frame prediction") + ); + assert_eq!( + media_profile + .get("transport_owner") + .and_then(|value| value.as_str()), + Some("CultNet RUDP media channel") + ); assert_eq!( media_profile .get("video_rate_control") @@ -6987,6 +7008,12 @@ Device 00:07:04:A8:00:D0 (public) .and_then(|value| value.as_u64()), Some(MUNINN_RUDP_MEDIA_RESEND_DELAY_MS) ); + assert_eq!( + media_profile + .get("late_media_policy") + .and_then(|value| value.as_str()), + Some("drop expired queued media; do not repair frames outside the latency budget") + ); let routes = provider .value diff --git a/src/Idunn/README.md b/src/Idunn/README.md index 52c7834..dd4df16 100644 --- a/src/Idunn/README.md +++ b/src/Idunn/README.md @@ -233,6 +233,17 @@ document ingress for MiMo VoiceDesign before its HTTP command route can become debug-only, and Odin still owes removal of hashed-store/C# witness shims once direct interoperable witness publication is ready. +Muninn media uses a codec-owned prediction model, not a custom visual-delta +codec. The canonical LAN profile is +`muninn.rudp.low_latency_h264_lan.v1`: NVENC H.264 owns inter-frame prediction, +motion search, residuals, keyframe production, and the actual lossy visual +encoding; CultNet/RUDP owns bounded delivery of typed video access units, audio +packets, receiver feedback, retransmit pressure, expiry, and keyframe requests. +Late media is dropped when it misses the fixed latency budget. Optical flow, +foveation, ROI maps, or stochastic patch experiments may become future Muninn +profiles only after this hardware-codec RUDP path is measured and proven +insufficient. + Raven Muninn task actions are also an explicit ops invariant: Task Scheduler must execute `wscript.exe //B //Nologo` hidden launcher actions directly for `GameCult-Muninn`, `GameCult-Muninn-Activate`, and