pub struct RtpStats {
pub packets_sent: u64,
pub packets_received: u64,
pub bytes_sent: u64,
pub bytes_received: u64,
pub packets_lost: u64,
pub jitter_ms: f64,
pub codec_name: String,
pub extended_highest_seq: u32,
pub seq_cycles: u16,
}Expand description
RTP/RTCP statistics snapshot.
Fields§
§packets_sent: u64Total RTP packets sent.
packets_received: u64Total RTP packets received.
bytes_sent: u64Total payload bytes sent.
bytes_received: u64Total payload bytes received.
packets_lost: u64Estimated packets lost.
jitter_ms: f64Interarrival jitter in milliseconds.
codec_name: StringCodec name.
extended_highest_seq: u32Extended highest sequence number (includes rollover cycles).
seq_cycles: u16Number of sequence number rollovers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtpStats
impl RefUnwindSafe for RtpStats
impl Send for RtpStats
impl Sync for RtpStats
impl Unpin for RtpStats
impl UnsafeUnpin for RtpStats
impl UnwindSafe for RtpStats
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