pub struct RtcRemoteInboundRtpStreamStats {
pub local_id: Option<String>,
pub jitter: Option<Float>,
pub round_trip_time: Option<Float>,
pub fraction_lost: Option<Float>,
pub reports_received: Option<u64>,
pub round_trip_time_measurements: Option<Float>,
}Expand description
Statistics for the remote endpoint’s inbound RTP stream corresponding to an outbound stream that is currently sent with RTCPeerConnection object.
It is measured at the remote endpoint and reported in a RTCP Receiver Report (RR) or RTCP Extended Report (XR).
RtcStatsType::RemoteInboundRtp variant.
Fields§
§local_id: Option<String>localId is used for looking up the local
RTCOutboundRtpStreamStats object for the same SSRC.
jitter: Option<Float>Packet jitter measured in seconds for this SSRC.
round_trip_time: Option<Float>Estimated round trip time for this SSRC based on the RTCP timestamps in the RTCP Receiver Report (RR) and measured in seconds. Calculated as defined in Section 6.4.1 of RFC 3550. If no RTCP Receiver Report is received with a DLSR value other than 0, the round trip time is left undefined.
fraction_lost: Option<Float>Fraction packet loss reported for this SSRC. Calculated as defined in Section 6.4.1 of RFC 3550 and Appendix A.3.
reports_received: Option<u64>Total number of RTCP RR blocks received for this SSRC.
round_trip_time_measurements: Option<Float>Total number of RTCP RR blocks received for this SSRC that contain a
valid round trip time. This counter will increment if the
roundTripTime is undefined.
Trait Implementations§
source§impl Clone for RtcRemoteInboundRtpStreamStats
impl Clone for RtcRemoteInboundRtpStreamStats
source§fn clone(&self) -> RtcRemoteInboundRtpStreamStats
fn clone(&self) -> RtcRemoteInboundRtpStreamStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl<'de> Deserialize<'de> for RtcRemoteInboundRtpStreamStats
impl<'de> Deserialize<'de> for RtcRemoteInboundRtpStreamStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for RtcRemoteInboundRtpStreamStats
impl PartialEq for RtcRemoteInboundRtpStreamStats
source§fn eq(&self, other: &RtcRemoteInboundRtpStreamStats) -> bool
fn eq(&self, other: &RtcRemoteInboundRtpStreamStats) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RtcRemoteInboundRtpStreamStats
Auto Trait Implementations§
impl Freeze for RtcRemoteInboundRtpStreamStats
impl RefUnwindSafe for RtcRemoteInboundRtpStreamStats
impl Send for RtcRemoteInboundRtpStreamStats
impl Sync for RtcRemoteInboundRtpStreamStats
impl Unpin for RtcRemoteInboundRtpStreamStats
impl UnwindSafe for RtcRemoteInboundRtpStreamStats
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)