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 ==.