pub struct StreamsNotSending {
pub ssrcs: Vec<u32>,
}Expand description
The local streams that may not send media now: the SSRCs (media, RTX and FEC) of the
senders whose negotiated direction does not send (recvonly, inactive). RFC 8866
section 6.7.4: “No media is sent over an inactive media stream”, and section 6.7.1: a
receive-only stream is in “receive-only mode”; RFC 3264 section 5.1. W3C webrtc-pc 4.4.1.6:
an answer sets [[CurrentDirection]], and a sender sends only while it is “sendrecv” or
“sendonly”. RTCP is not affected (RFC 8866 section 6.7: it “MUST still” be sent).
The peer connection writes it into the chain each time an answer is applied, as an
Attribute::Custom on an empty RTCP packet (StreamsNotSending::into_packet); each
replaces the one before. The PacerInterceptor drops what it holds of those streams at
that instant (media, retransmissions, padding) and every packet of them written later; the
NackResponderInterceptor forgets what it sent of them,
answers no NACK for them and pads no probe on their RTX streams. Read with
AttributedPacket::custom.
Fields§
§ssrcs: Vec<u32>The SSRCs of the streams, their RTX and FEC streams included.
Implementations§
Source§impl StreamsNotSending
impl StreamsNotSending
Sourcepub fn into_packet(self, now: Instant) -> TaggedPacket
pub fn into_packet(self, now: Instant) -> TaggedPacket
The packet that carries this into the chain when written at now.