#[non_exhaustive]pub struct UlpfecDecoderStats {
pub fec_packets: u64,
pub fec_rejected: u64,
pub discarded_unneeded: u64,
pub discarded_expired: u64,
pub recovered: u64,
pub failed: u64,
pub rule_violations: u64,
}Expand description
What a decoder has done so far.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fec_packets: u64FEC packets accepted.
fec_rejected: u64FEC payloads refused: malformed, outside the window, or more levels than signalled.
Each is a FEC packet received whose correction was not used (webrtc-stats
fecPacketsDiscarded, the packet “arrived late, i.e., outside the recovery window” for
one outside the window).
discarded_unneeded: u64FEC packets let go without having rebuilt anything because every packet they protect
was received or already rebuilt (webrtc-stats fecPacketsDiscarded, case 1), a second
copy of a FEC packet held included.
discarded_expired: u64FEC packets let go without having rebuilt anything because the window moved past them,
the stream restarted its numbering, or the hold limit (ULPFEC_MAX_HELD_FEC) pushed
them out: they were still waiting for packets to arrive (webrtc-stats
fecPacketsDiscarded, case 2).
recovered: u64Media packets rebuilt completely and handed out.
failed: u64Recoveries whose result was not an RTP packet (inconsistent FEC data), discarded.
rule_violations: u64FEC packets that broke rule a of RFC 5109 7.4 against one already held: a media packet
protected twice at a level above 0, or twice at level 0 with different lengths. They are
used all the same; see UlpfecDecoder::push_fec.