pub struct ReportBlock {
pub ssrc: u32,
pub fraction_lost: u8,
pub cumulative_lost: i32,
pub ext_highest_seq: u32,
pub jitter: u32,
pub lsr: u32,
pub dlsr: u32,
}Expand description
A reception report block (RFC 3550 §6.4.1, 24 bytes). Carried by both SR and RR, one per reported source.
Fields§
§ssrc: u32SSRC of the source this block reports on.
fraction_lost: u8Fraction of packets lost since the previous report (8.8 fixed-point num).
cumulative_lost: i32Cumulative number of packets lost — a 24-bit signed value.
ext_highest_seq: u32Extended highest sequence number received.
jitter: u32Interarrival jitter estimate.
lsr: u32Last SR timestamp (middle 32 bits of the sender’s NTP time), or 0.
dlsr: u32Delay since last SR, in units of 1/65536 s, or 0.
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 moreimpl Copy for ReportBlock
Source§impl Debug for ReportBlock
impl Debug for ReportBlock
impl Eq for ReportBlock
Source§impl<'a> Parse<'a> for ReportBlock
impl<'a> Parse<'a> for ReportBlock
Source§impl PartialEq for ReportBlock
impl PartialEq for ReportBlock
Source§impl Serialize for ReportBlock
impl Serialize for ReportBlock
Source§impl Serialize for ReportBlock
impl Serialize for ReportBlock
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.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