pub struct StatisticsSummaryReportBlock {Show 17 fields
pub loss_reports: bool,
pub duplicate_reports: bool,
pub jitter_reports: bool,
pub ttl_or_hop_limit: TTLorHopLimitType,
pub ssrc: u32,
pub begin_seq: u16,
pub end_seq: u16,
pub lost_packets: u32,
pub dup_packets: u32,
pub min_jitter: u32,
pub max_jitter: u32,
pub mean_jitter: u32,
pub dev_jitter: u32,
pub min_ttl_or_hl: u8,
pub max_ttl_or_hl: u8,
pub mean_ttl_or_hl: u8,
pub dev_ttl_or_hl: u8,
}Expand description
StatisticsSummaryReportBlock encodes a Statistics Summary Report Block as described in RFC 3611, section 4.6.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BT=6 |L|D|J|ToH|rsvd.| block length = 9 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ssrc of source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | begin_seq | end_seq | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | lost_packets | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | dup_packets | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | min_jitter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | max_jitter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | mean_jitter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | dev_jitter | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | min_ttl_or_hl | max_ttl_or_hl |mean_ttl_or_hl | dev_ttl_or_hl | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§loss_reports: boolWhether the loss fields are present.
duplicate_reports: boolWhether the duplicate fields are present.
jitter_reports: boolWhether the jitter fields are present.
ttl_or_hop_limit: TTLorHopLimitTypeWhether the TTL fields hold an IPv4 TTL, an IPv6 hop limit, or nothing.
ssrc: u32The SSRC being summarized.
begin_seq: u16The first sequence number covered.
end_seq: u16One past the last sequence number covered.
lost_packets: u32Packets lost in the interval.
dup_packets: u32Duplicate packets in the interval.
min_jitter: u32Minimum observed jitter, in RTP timestamp units.
max_jitter: u32Maximum observed jitter.
mean_jitter: u32Mean observed jitter.
dev_jitter: u32Standard deviation of observed jitter.
min_ttl_or_hl: u8Minimum TTL or hop limit seen.
max_ttl_or_hl: u8Maximum TTL or hop limit seen.
mean_ttl_or_hl: u8Mean TTL or hop limit.
dev_ttl_or_hl: u8Standard deviation of TTL or hop limit.
Implementations§
Trait Implementations§
Source§impl Clone for StatisticsSummaryReportBlock
impl Clone for StatisticsSummaryReportBlock
Source§fn clone(&self) -> StatisticsSummaryReportBlock
fn clone(&self) -> StatisticsSummaryReportBlock
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StatisticsSummaryReportBlock
impl Debug for StatisticsSummaryReportBlock
Source§impl Default for StatisticsSummaryReportBlock
impl Default for StatisticsSummaryReportBlock
Source§fn default() -> StatisticsSummaryReportBlock
fn default() -> StatisticsSummaryReportBlock
impl Eq for StatisticsSummaryReportBlock
Source§impl MarshalSize for StatisticsSummaryReportBlock
impl MarshalSize for StatisticsSummaryReportBlock
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
Marshal::marshal_to will write for this value.Source§impl Packet for StatisticsSummaryReportBlock
impl Packet for StatisticsSummaryReportBlock
Source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of ssrc values that this report block refers to.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Box<dyn Packet> can recover the concrete type.