pub struct TwccSenderInterceptor { /* private fields */ }Expand description
Numbers every departing RTP packet so the remote can report on it
(draft-holmer-rmcat-transport-wide-cc-extensions-01).
§Where this belongs in the chain
Between the pacer and the send history, near the wire. Numbering identifies a transmission, not a packet, so it has to happen after the pacer has decided what actually leaves and before the history records it — a retransmission is a separate transmission and gets its own number.
Under the nested chain this could not hold: a retransmission left from the NACK responder’s own queue and never reached the tagger at all.
Trait Implementations§
Source§impl Default for TwccSenderInterceptor
impl Default for TwccSenderInterceptor
Source§impl Interceptor for TwccSenderInterceptor
impl Interceptor for TwccSenderInterceptor
Source§fn bind_local_stream(&mut self, info: &StreamInfo)
fn bind_local_stream(&mut self, info: &StreamInfo)
The media SSRC and the repair flows that go with it: the retransmission (RTX) SSRC and the FEC SSRC. The number is attached to every packet sent on the transport (draft-holmer-rmcat-transport-wide-cc-extensions-01 section 2.2), and a retransmission or a repair packet is as much a packet on the path as the media it protects: left unnumbered, its bytes are invisible to the receiver’s feedback and to the sender’s congestion controller.
Source§fn unbind_local_stream(&mut self, info: &StreamInfo)
fn unbind_local_stream(&mut self, info: &StreamInfo)
Source§fn bind_remote_stream(&mut self, _info: &StreamInfo)
fn bind_remote_stream(&mut self, _info: &StreamInfo)
Source§fn unbind_remote_stream(&mut self, _info: &StreamInfo)
fn unbind_remote_stream(&mut self, _info: &StreamInfo)
Source§fn with<O, F>(self, f: F) -> O
fn with<O, F>(self, f: F) -> O
f, for nested (#[next]-field)
interceptors written with the Interceptor derive. The result is an
ordinary interceptor and can be placed in a Registry slot. Read moreSource§fn move_local_stream_out(&mut self, info: &StreamInfo)
fn move_local_stream_out(&mut self, info: &StreamInfo)
info moves to another RTP session (its m= section moved to another
transport, as a bundling answer does): it leaves this one without ending, so nothing
says it left (no RTCP BYE, RFC 3550 section 6.6). Unbinds it by default.