Struct rtcp::extended_report::vm::VoIPMetricsReportBlock
source · pub struct VoIPMetricsReportBlock {Show 22 fields
pub ssrc: u32,
pub loss_rate: u8,
pub discard_rate: u8,
pub burst_density: u8,
pub gap_density: u8,
pub burst_duration: u16,
pub gap_duration: u16,
pub round_trip_delay: u16,
pub end_system_delay: u16,
pub signal_level: u8,
pub noise_level: u8,
pub rerl: u8,
pub gmin: u8,
pub rfactor: u8,
pub ext_rfactor: u8,
pub mos_lq: u8,
pub mos_cq: u8,
pub rx_config: u8,
pub reserved: u8,
pub jb_nominal: u16,
pub jb_maximum: u16,
pub jb_abs_max: u16,
}
Expand description
VoIPMetricsReportBlock encodes a VoIP Metrics Report Block as described in RFC 3611, section 4.7.
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=7 | reserved | block length = 8 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ssrc of source | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | loss rate | discard rate | burst density | gap density | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | burst duration | gap duration | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | round trip delay | end system delay | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | signal level | noise level | RERL | Gmin | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | R factor | ext. R factor | MOS-LQ | MOS-CQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RX config | reserved | JB nominal | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | JB maximum | JB abs max | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Fields§
§ssrc: u32
§loss_rate: u8
§discard_rate: u8
§burst_density: u8
§gap_density: u8
§burst_duration: u16
§gap_duration: u16
§round_trip_delay: u16
§end_system_delay: u16
§signal_level: u8
§noise_level: u8
§rerl: u8
§gmin: u8
§rfactor: u8
§ext_rfactor: u8
§mos_lq: u8
§mos_cq: u8
§rx_config: u8
§reserved: u8
§jb_nominal: u16
§jb_maximum: u16
§jb_abs_max: u16
Implementations§
Trait Implementations§
source§impl Clone for VoIPMetricsReportBlock
impl Clone for VoIPMetricsReportBlock
source§fn clone(&self) -> VoIPMetricsReportBlock
fn clone(&self) -> VoIPMetricsReportBlock
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VoIPMetricsReportBlock
impl Debug for VoIPMetricsReportBlock
source§impl Default for VoIPMetricsReportBlock
impl Default for VoIPMetricsReportBlock
source§fn default() -> VoIPMetricsReportBlock
fn default() -> VoIPMetricsReportBlock
source§impl Display for VoIPMetricsReportBlock
impl Display for VoIPMetricsReportBlock
source§impl Marshal for VoIPMetricsReportBlock
impl Marshal for VoIPMetricsReportBlock
source§impl MarshalSize for VoIPMetricsReportBlock
impl MarshalSize for VoIPMetricsReportBlock
fn marshal_size(&self) -> usize
source§impl Packet for VoIPMetricsReportBlock
impl Packet for VoIPMetricsReportBlock
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.
fn header(&self) -> Header
fn raw_size(&self) -> usize
fn as_any(&self) -> &(dyn Any + Send + Sync)
fn equal(&self, other: &(dyn Packet + Send + Sync)) -> bool
fn cloned(&self) -> Box<dyn Packet + Send + Sync>
source§impl PartialEq for VoIPMetricsReportBlock
impl PartialEq for VoIPMetricsReportBlock
source§fn eq(&self, other: &VoIPMetricsReportBlock) -> bool
fn eq(&self, other: &VoIPMetricsReportBlock) -> bool
self
and other
values to be equal, and is used
by ==
.