[domistream] Host: video and audio packetizers #9
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user