mnovak 07ccff4241 [probe] gs-probe: desktop GameStream probe client and the live interop run book
tools/gs-probe (own workspace, never published): `probe serverinfo | pair | apps | launch <app-id> | quit | unpair`
against one host address, driving DomiStream's pairing, HTTP, RTSP, ENet, control, video and audio state machines
over real sockets. Structured JSONL log per run (requests, answers, timings, the U each record bears on, parser
errors with their bytes), secrets redacted (rikey, pairing values; PIN never logged; registered key hex scrubbed from
every line). Test-only client key and cert in --out. Video: frames, decode-ready frames, FEC recoveries, losses,
elementary-stream dump, live U14 parity check; audio: packets, losses, decrypting vs plain receivers (U17), packet
dump and offline U16 solver (`solve-audio-fec`). START_A/START_B/PERIODIC_PING/IDR bodies come from the command line
(U10).

docs/LIVE-INTEROP.md: the sitting's run book (preparation, sequence S0-S5 with the U each step settles, variants,
log reading, where each fact lands in PROTOCOL.md and the code, stop-and-report rule, clean-up, Mark's timeline).

Built and unit-tested only (41 tests, clippy -D warnings, fmt); never run against a host.
2026-11-30 10:57:07 +01:00

DomiStream

Pure Rust protocol code for Arena Domi's Play remotely: streaming a game from your PC to Arena Domi TV, phones and other PCs. Sans-I/O: no sockets, no threads, no clock reads. The caller feeds bytes and the current time in and gets bytes, events and deadlines out.

Part What Day
GameStream client pairing handshake, app list, RTSP, the ENet-compatible control channel, input and gamepad messages, RTP video depacketizer with FEC recovery, Opus audio with FEC, stream encryption 1
Harness maths clock sync and the added-latency statistics 2
Lumen the protocol, FEC, pacing and congestion maths of Arena Domi's own engine 3–7

Written from the public protocol notes in the Wolf documentation and our own measurements. It is a clean-room implementation: no code from Sunshine, Moonlight, Apollo, Vibeshine, Rubylight or moonlight-common-c was opened, pasted or ported. See docs/CLEAN_ROOM.md.

cargo test --workspace

Status: stream-v0.1.0

Written from the Wolf protocol docs and the approved permissive sources (stock ENet, tokio-enet, fec-rs). Interop is unverified: this release has not yet talked to a real Sunshine host. Ten details that block interop (U1, U2, U4–U10, U17 in docs/PROTOCOL.md) are settled live on Arena Domi's Play remotely Day 1, and a stream-v0.1.x patch is expected. Evidence for this release: 242 tests, a mutation pass (24 of 24 caught, docs/MUTATION.md), and 25 fuzz targets with 0 crashes (docs/HANDOVER.md).

Path What
crates/domistream the crate: one module per protocol part (see its rustdoc)
fuzz/ one libFuzzer target per parser, its own workspace (how to run: top of fuzz/Cargo.toml)
docs/PROTOCOL.md the protocol as we speak it, with every UNKNOWN
docs/CLEAN_ROOM.md allowed and forbidden sources, and the source log

Licence

DomiStream is licensed under the Common Public Attribution License 1.0 (SPDX CPAL-1.0); see LICENSE.

Attribution (Exhibit B). Anyone who redistributes DomiStream, or a Larger Work built on it, must show this credit wherever CPAL-1.0 §14 asks for it (display in Larger Works is required):

Field Value
Attribution Copyright Notice Copyright (c) 2026 Marek Novák
Attribution Phrase Built on Domi
Attribution URL https://aula.marek-novak.cz
Graphic Image none

Third-party crates keep their own licences.

S
Description
Pure sans-I/O Rust protocol code for Arena Domi Play remotely (GameStream client, later Lumen). CPAL-1.0. Built on Domi.
Readme 1 MiB
Languages
Rust 94%
Python 3.4%
PowerShell 2.3%
C# 0.2%