pub struct MediaStats {
pub rtt_ms: f64,
pub jitter_ms: f64,
pub rx_lost: i32,
pub packet_loss_pct: f64,
pub mos: f64,
}Expand description
RTP media quality for a call (backend-neutral). mos is an estimated Mean
Opinion Score (1.0 = worst … 4.5 = best).
Fields§
§rtt_ms: f64Round-trip time in milliseconds.
jitter_ms: f64Receive-side inter-arrival jitter in milliseconds.
rx_lost: i32Cumulative received RTP packets lost.
packet_loss_pct: f64Receive-side packet loss as a percentage.
mos: f64Estimated MOS (1.0–4.5).
Trait Implementations§
Source§impl Clone for MediaStats
impl Clone for MediaStats
Source§fn clone(&self) -> MediaStats
fn clone(&self) -> MediaStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MediaStats
Auto Trait Implementations§
impl Freeze for MediaStats
impl RefUnwindSafe for MediaStats
impl Send for MediaStats
impl Sync for MediaStats
impl Unpin for MediaStats
impl UnsafeUnpin for MediaStats
impl UnwindSafe for MediaStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more