[domistream] Host: even FEC split, input type diagnostics, 0.2.2 #18
Reference in New Issue
Block a user
Delete Branch "feature/host-wire-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After the L2 demo: Arena Domi Remote crashed in its video reassembly about 40 ms after Lumen's first video packets. With the Sunshine capture on hold (showcase), this compares Lumen's video choices with the permissive host source (Moonshine, BSD-2, re-read as S-26, facts only) and fixes what differs:
minRequiredFecPackets(101 % for 1 shard, 51 % for 2, 34 % for 3 at a minimum of 2), parity rounded up, the frame header and last-shard length, and the encryption prefix order. Still open until a capture: which parity header fields a host patches (Moonshine patches 4; we write all), U13/U15/U19.ClientControlMessage::InputRejectednow carriesinput_type: Option<u32>(body bytes 4..8 LE), so Lumen can log what the client's unread 10-byte input was (U21).Tests first (two failing commits: the even split with a fixed vector and the property test; the refused input's type), then the code. Workspace 424 passed / 0 failed; clippy, fmt, rustdoc clean.
Clean-room checklist
f184d5epacketizer.rs and video/mod.rs (BSD-2, facts only), logged as S-26; RFC 5052. No Sunshine/Moonlight code; the "frame numbers start at 1" note is a client behaviour, not a GPL value, and will be confirmed by measurement.Self-review: the split keeps the same block count (the largest block is
ceil(n / blocks), the size the feasibility check uses);InputRejectedis a public enum field addition (Arena updates its match in its PR); nothing live was run.