#[non_exhaustive]pub struct FlowCodepoints {
pub codepoints: Vec<(u32, u8)>,
}Expand description
The DSCP each stream the connection sends is marked with (RFC 8837 Table 1: by the flow’s
type and the encoding’s networkPriority / priority; RTX and FEC streams with their
encoding’s codepoint; 0 for a flow the DSCP fallback turned back, RFC 8835 section 4.2), as
(SSRC, DSCP). The congestion control interceptor hands it to its estimator
(BandwidthEstimator::on_flow_codepoints); a stream not named counts as DSCP 0.
The peer connection writes it into the chain, as an Attribute::Custom
on an empty RTCP packet (FlowCodepoints::into_packet), each time a description is
applied, after setParameters, and when the DSCP fallback turns a flow back. Read with
AttributedPacket::custom.
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.codepoints: Vec<(u32, u8)>(SSRC, DSCP).
Implementations§
Source§impl FlowCodepoints
impl FlowCodepoints
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.