webrtc_ccfb_receiver (webrtc v0.1.0)
View SourceReceiver side of RTP Control Protocol feedback for congestion control (RFC 8888), as a sans-IO engine.
packet/5 records the arrival time and ECN mark of an RTP packet. Every interval milliseconds (default 100) after the first unreported arrival, handle_timeout/2 emits one #rtcp_ccfb{} with, per source, the run of sequence numbers from the first one not reported yet to the highest received: each received packet with its ECN codepoint and its arrival time offset before the report timestamp (1/1024 s, 0x1FFE for that much or more), the others as not received (RFC 8888 §3.1). A source reports at most MAX_PER_SOURCE packets per message; older ones are skipped. At most MAX_SOURCES sources are tracked.
Summary
Functions
Packet Seq of Ssrc arrived at Now (ms) with ECN codepoint Ecn (0 not-ECT, 1 ECT(1), 2 ECT(0), 3 CE).
Types
Functions
Packet Seq of Ssrc arrived at Now (ms) with ECN codepoint Ecn (0 not-ECT, 1 ECT(1), 2 ECT(0), 3 CE).