[domistream] Implementation: HTTP, pairing, RTSP/SDP, ENet, control, input, RTP, FEC, video and audio receivers

Per PROTOCOL.md and the Wolf docs; interop with a real host is unverified. Strict, capped parsers throughout,
shared helpers in util.rs. Where PROTOCOL.md says UNKNOWN the Wolf-documented behaviour is used. The audio
receiver waits for the jitter budget before rebuilding a missing packet, so a late packet beats a rebuilt one.
This commit is contained in:
2026-11-25 14:10:24 +01:00
parent 27b26a992b
commit 30a7b90034
27 changed files with 4175 additions and 406 deletions
+6 -3
View File
@@ -24,10 +24,13 @@ impl SessionKeys {
/// Draws a fresh key and key id from `rng`.
///
/// # Errors
/// Phase A: always [`crate::Error::Unimplemented`].
/// None today; the `Result` leaves room for a fallible source.
pub fn generate(rng: &mut dyn RandomSource) -> Result<Self> {
let _ = rng;
Err(crate::Error::Unimplemented)
let mut rikey = [0u8; RIKEY_LEN];
rng.fill(&mut rikey);
let mut id = [0u8; 4];
rng.fill(&mut id);
Ok(Self { rikey, rikeyid: u32::from_le_bytes(id) })
}
}