pub struct JitterStats {
pub packets_received: u64,
pub packets_dropped: u64,
pub packets_lost: u64,
pub packets_played: u64,
pub buffer_depth: usize,
pub current_delay_ms: u32,
pub observed_jitter_ms: f64,
}Expand description
Statistics from the jitter buffer.
Fields§
§packets_received: u64Total packets received.
packets_dropped: u64Packets dropped (buffer full or too late).
packets_lost: u64Packets lost (gaps in sequence).
packets_played: u64Packets played out.
buffer_depth: usizeCurrent buffer depth in packets.
current_delay_ms: u32Current delay in milliseconds.
observed_jitter_ms: f64Observed jitter in milliseconds.
Trait Implementations§
Source§impl Clone for JitterStats
impl Clone for JitterStats
Source§fn clone(&self) -> JitterStats
fn clone(&self) -> JitterStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JitterStats
impl Debug for JitterStats
Source§impl Default for JitterStats
impl Default for JitterStats
Source§fn default() -> JitterStats
fn default() -> JitterStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JitterStats
impl RefUnwindSafe for JitterStats
impl Send for JitterStats
impl Sync for JitterStats
impl Unpin for JitterStats
impl UnsafeUnpin for JitterStats
impl UnwindSafe for JitterStats
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