Skip to main content

convert_ccfb

Function convert_ccfb 

Source
pub fn convert_ccfb(
    feedback: &CcFeedbackReport,
) -> (Duration, HashMap<u32, Vec<Acknowledgement>>)
Expand description

Convert an RFC 8888 report into acknowledgements per media stream, with the delay the receiver added before sending it.

The returned delay is the gap between the newest arrival the report describes and the instant it was stamped. A round trip measured without subtracting it counts the receiver’s own reporting interval as network time.