pub struct RtpSessionStats {
pub packets_sent: u64,
pub packets_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
pub packets_lost: u64,
pub packets_duplicated: u64,
pub packets_out_of_order: u64,
pub packets_discarded_by_jitter: u64,
pub jitter_ms: f64,
pub remote_addr: Option<SocketAddr>,
}Expand description
Stats for an RTP session
Fields§
§packets_sent: u64Total packets sent
packets_received: u64Total packets received
bytes_sent: u64Total bytes sent
bytes_received: u64Total bytes received
packets_lost: u64Packets lost (based on sequence numbers)
packets_duplicated: u64Duplicate packets received
packets_out_of_order: u64Out-of-order packets received
packets_discarded_by_jitter: u64Packets discarded by jitter buffer (too old)
jitter_ms: f64Current jitter estimate (in milliseconds)
remote_addr: Option<SocketAddr>Remote address of the most recent packet
Trait Implementations§
Source§impl Clone for RtpSessionStats
impl Clone for RtpSessionStats
Source§fn clone(&self) -> RtpSessionStats
fn clone(&self) -> RtpSessionStats
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 RtpSessionStats
impl Debug for RtpSessionStats
Source§impl Default for RtpSessionStats
impl Default for RtpSessionStats
Source§fn default() -> RtpSessionStats
fn default() -> RtpSessionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RtpSessionStats
impl RefUnwindSafe for RtpSessionStats
impl Send for RtpSessionStats
impl Sync for RtpSessionStats
impl Unpin for RtpSessionStats
impl UnwindSafe for RtpSessionStats
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