pub struct ReportBlock {
pub ssrc: u32,
pub fraction_lost: u8,
pub cumulative_lost: i32,
pub extended_highest_sequence: u32,
pub jitter: u32,
pub last_sender_report: u32,
pub delay_since_last_sender_report: u32,
}Expand description
One report block: what one source’s stream looked like from here.
Fields§
§ssrc: u32Whose stream this describes.
fraction_lost: u8Loss since the last report, as a fraction in 256ths.
cumulative_lost: i32Packets lost since the stream began. 24-bit and signed, because duplicates can make it go down.
extended_highest_sequence: u32The highest sequence number seen, with the wrap count in the high 16 bits.
jitter: u32Interarrival jitter, in timestamp units.
last_sender_report: u32The middle 32 bits of the last sender report’s NTP timestamp.
delay_since_last_sender_report: u32How long since that report arrived, in 1/65536 second units.
Trait Implementations§
Source§impl Clone for ReportBlock
impl Clone for ReportBlock
Source§fn clone(&self) -> ReportBlock
fn clone(&self) -> ReportBlock
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 moreSource§impl Debug for ReportBlock
impl Debug for ReportBlock
Source§impl Default for ReportBlock
impl Default for ReportBlock
Source§fn default() -> ReportBlock
fn default() -> ReportBlock
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReportBlock
impl PartialEq for ReportBlock
Source§fn eq(&self, other: &ReportBlock) -> bool
fn eq(&self, other: &ReportBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReportBlock
impl Eq for ReportBlock
impl StructuralPartialEq for ReportBlock
Auto Trait Implementations§
impl Freeze for ReportBlock
impl RefUnwindSafe for ReportBlock
impl Send for ReportBlock
impl Sync for ReportBlock
impl Unpin for ReportBlock
impl UnsafeUnpin for ReportBlock
impl UnwindSafe for ReportBlock
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