pub struct RtcpQualitySample {
pub reporter_ssrc: u32,
pub stream_ssrc: u32,
pub loss: f64,
pub cumulative_lost: i32,
pub jitter: Duration,
pub round_trip: Option<Duration>,
}Expand description
One peer RTCP report block describing this session’s outbound RTP stream.
Fields§
§reporter_ssrc: u32SSRC of the peer that sent the sender or receiver report.
stream_ssrc: u32Local stream SSRC named by the report block.
loss: f64Loss in this report interval, between zero and one.
cumulative_lost: i32Packets lost since the peer began observing the stream.
jitter: DurationPeer-observed interarrival jitter in time rather than RTP timestamp units.
round_trip: Option<Duration>Round-trip time derived from LSR and DLSR, when the report carries a usable echo.
Trait Implementations§
Source§impl Clone for RtcpQualitySample
impl Clone for RtcpQualitySample
Source§fn clone(&self) -> RtcpQualitySample
fn clone(&self) -> RtcpQualitySample
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 RtcpQualitySample
impl Debug for RtcpQualitySample
Source§impl PartialEq for RtcpQualitySample
impl PartialEq for RtcpQualitySample
Source§fn eq(&self, other: &RtcpQualitySample) -> bool
fn eq(&self, other: &RtcpQualitySample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RtcpQualitySample
impl StructuralPartialEq for RtcpQualitySample
Auto Trait Implementations§
impl Freeze for RtcpQualitySample
impl RefUnwindSafe for RtcpQualitySample
impl Send for RtcpQualitySample
impl Sync for RtcpQualitySample
impl Unpin for RtcpQualitySample
impl UnsafeUnpin for RtcpQualitySample
impl UnwindSafe for RtcpQualitySample
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more