use bytes::Bytes; pub mod av1; pub mod h264; pub mod h265; #[cfg(test)] mod flv_replay_test; pub trait CodecParser: Send { fn parse(&mut self, data: &[u8], timestamp_ms: u32) -> Option; } pub struct VideoFrame { pub data: Bytes, pub is_keyframe: bool, pub timestamp_ms: u32, }