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.
Each arrival time is the report timestamp minus the packet’s arrival time offset (RFC 8888
section 3.1), on the receiver’s clock: a later arrival is a larger value, within a report and
from one report to the next, until the 32-bit report timestamp wraps. A connection converts
through a FeedbackTimeline, which follows the wrap.