pub struct JitterBufferStats {
pub out_of_order: u64,
pub duplicates: u64,
pub overflow: u64,
pub late: u64,
pub foreign_ssrc: u64,
pub underflow: u64,
}Expand description
Counters describing what a buffer has had to cope with.
Upstream reports these through a listener callback. There is no natural sans-I/O analogue for a callback, and these are diagnostics rather than control signals, so they are plain counters on the buffer instead.
Fields§
§out_of_order: u64Packets that arrived after a higher sequence number had already been seen.
duplicates: u64Packets discarded because the same sequence number was already held.
overflow: u64Packets dropped because the buffer was full.
late: u64Packets discarded because they arrived after the buffer had already released that position — too late to be played out in order.
foreign_ssrc: u64Packets rejected because they carried a different SSRC than this buffer’s stream.
underflow: u64Times playout asked for a packet and the buffer had none to give.
Trait Implementations§
Source§impl Clone for JitterBufferStats
impl Clone for JitterBufferStats
Source§fn clone(&self) -> JitterBufferStats
fn clone(&self) -> JitterBufferStats
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 JitterBufferStats
Source§impl Debug for JitterBufferStats
impl Debug for JitterBufferStats
Source§impl Default for JitterBufferStats
impl Default for JitterBufferStats
Source§fn default() -> JitterBufferStats
fn default() -> JitterBufferStats
Returns the “default value” for a type. Read more
impl Eq for JitterBufferStats
Source§impl PartialEq for JitterBufferStats
impl PartialEq for JitterBufferStats
impl StructuralPartialEq for JitterBufferStats
Auto Trait Implementations§
impl Freeze for JitterBufferStats
impl RefUnwindSafe for JitterBufferStats
impl Send for JitterBufferStats
impl Sync for JitterBufferStats
impl Unpin for JitterBufferStats
impl UnsafeUnpin for JitterBufferStats
impl UnwindSafe for JitterBufferStats
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