[domistream] Host: video and audio packetizers #9

Merged
mnovak merged 6 commits from feature/host-packetizers into main 2026-12-04 12:44:36 +01:00
Showing only changes of commit 81ddf64bee - Show all commits
@@ -54,8 +54,9 @@ fuzz_target!(|data: &[u8]| {
first_sequence: u16::from_le_bytes([first, s0]),
};
let mut tx = VideoPacketizer::new(config).expect("a valid configuration is accepted");
let mut rx = VideoDepacketizer::new(VideoConfig { packet_size, cipher: cipher(), frame_timeout: Duration::from_millis(20) })
.expect("the receiver accepts the same packet size");
let mut rx =
VideoDepacketizer::new(VideoConfig { packet_size, cipher: cipher(), frame_timeout: Duration::from_millis(20) })
.expect("the receiver accepts the same packet size");
let cut = body.len() * usize::from(split) / 255;
let (a, b) = body.split_at(cut);