1 use crate::stream_info::StreamInfo; 2 3 pub mod generator; 4 pub mod responder; 5 6 const UINT16SIZE_HALF: u16 = 1 << 15; 7 stream_support_nack(info: &StreamInfo) -> bool8fn stream_support_nack(info: &StreamInfo) -> bool { 9 for fb in &info.rtcp_feedback { 10 if fb.typ == "nack" && fb.parameter.is_empty() { 11 return true; 12 } 13 } 14 15 false 16 } 17