Files
DomiStream/docs/HANDOVER.md

1.7 KiB
Raw Permalink Blame History

DomiStream — handover

stream-v0.1.0 (2026-11-26)

The GameStream client, sans-I/O, for Arena Domi TV (Play remotely Day 1).

Part Module
pairing handshake (4-phase PIN exchange, client cert), serverinfo, app list, launch pairing, http
RTSP client and framer, SDP rtsp
ENet 1.3-compatible client peer enet
control channel (AES-GCM, replay refusal), input and gamepad messages control, input
RTP, Reed-Solomon FEC, video depacketizer (FEC recovery), Opus audio depacketizer (4 + 2 FEC) rtp, fec, video, audio

Evidence (worktree checks, 2026-11-26, every run gated on CPU, RAM and drives below 90 %):

  • cargo test --workspace: 242 passed, 0 failed. QA wrote the tests before the code; vectors come from OpenSSL 3.5, Python hashlib and .NET 10, with test-only keys.
  • Mutation pass: 24 of 24 caught (docs/MUTATION.md, rerunnable with tools/mutation/mutate.py).
  • Fuzz: 25 targets × 60 s, 0 crashes, from 59,665 (pairing_session) to 101 M (rtp_header) executions; then pairing_session for 600 s: 574,761 runs, 0 crashes. Windows MSVC, SanitizerCoverage, libFuzzer (fuzz/).
  • clippy -D warnings, fmt and rustdoc -D warnings are clean. getrandom is not in the dependency tree.

Open (see docs/PROTOCOL.md §UNKNOWN):

  • Interop unverified. U1, U2, U4–U10 and U17 block a real stream; they are settled live on Play remotely Day 1 against the pinned Sunshine (Mark, 2026-11-25: "COntinue roadmap without the check"). Expect stream-v0.1.x.
  • U16 (audio parity matrix: audio plays without it at zero loss) and U19 (video encryption layout).
  • tools/lab-relay and its scripts were never run (docs/LAB_CAPTURE.md); they're kept for byte logs on Day 1.