pub struct RtpStreamStats {
pub ssrc: RtpSsrc,
pub packets_received: u64,
pub bytes_received: u64,
pub packets_lost: u64,
pub duplicates: u64,
pub last_packet_time: Option<Instant>,
pub jitter: u32,
pub first_seq: u32,
pub highest_seq: u32,
pub received: u32,
}Expand description
Stats for an RTP stream
Fields§
§ssrc: RtpSsrcSSRC of the stream
packets_received: u64Number of packets received
bytes_received: u64Number of bytes received
packets_lost: u64Number of packets lost (based on sequence gaps)
duplicates: u64Number of duplicate packets
last_packet_time: Option<Instant>Last time a packet was received
jitter: u32Interarrival jitter (RFC 3550)
first_seq: u32First sequence number received
highest_seq: u32Highest sequence number received
received: u32Number of packets actually received (may differ from packets_received due to jitter buffer)
Trait Implementations§
Source§impl Clone for RtpStreamStats
impl Clone for RtpStreamStats
Source§fn clone(&self) -> RtpStreamStats
fn clone(&self) -> RtpStreamStats
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 RtpStreamStats
impl Debug for RtpStreamStats
Source§impl Default for RtpStreamStats
impl Default for RtpStreamStats
Source§fn default() -> RtpStreamStats
fn default() -> RtpStreamStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtpStreamStats
impl RefUnwindSafe for RtpStreamStats
impl Send for RtpStreamStats
impl Sync for RtpStreamStats
impl Unpin for RtpStreamStats
impl UnwindSafe for RtpStreamStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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