pub struct RtcRemoteOutboundRtpStreamStats {
pub local_id: Option<String>,
pub remote_timestamp: Option<HighResTimeStamp>,
pub reports_sent: Option<u64>,
}
Expand description
Statistics for the remote endpoint’s outbound RTP stream corresponding to an inbound stream that is currently received with RTCPeerConnection object.
It is measured at the remote endpoint and reported in an RTCP Sender Report (SR).
RtcStatsType::RemoteOutboundRtp
variant.
Fields§
§local_id: Option<String>
localId
is used for looking up the local
RTCInboundRtpStreamStats object for the same SSRC.
remote_timestamp: Option<HighResTimeStamp>
remoteTimestamp
(as [HIGHRES-TIME]) is the remote timestamp at
which these statistics were sent by the remote endpoint. This
differs from timestamp, which represents the time at which the
statistics were generated or received by the local endpoint. The
remoteTimestamp
, if present, is derived from the NTP timestamp
in an RTCP Sender Report (SR) block, which reflects the remote
endpoint’s clock. That clock may not be synchronized with the local
clock.
reports_sent: Option<u64>
Total number of RTCP SR blocks sent for this SSRC.
Trait Implementations§
source§impl Clone for RtcRemoteOutboundRtpStreamStats
impl Clone for RtcRemoteOutboundRtpStreamStats
source§fn clone(&self) -> RtcRemoteOutboundRtpStreamStats
fn clone(&self) -> RtcRemoteOutboundRtpStreamStats
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 RtcRemoteOutboundRtpStreamStats
impl<'de> Deserialize<'de> for RtcRemoteOutboundRtpStreamStats
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<RtcRemoteOutboundRtpStreamStats> for RtcRemoteOutboundRtpStreamStats
impl PartialEq<RtcRemoteOutboundRtpStreamStats> for RtcRemoteOutboundRtpStreamStats
source§fn eq(&self, other: &RtcRemoteOutboundRtpStreamStats) -> bool
fn eq(&self, other: &RtcRemoteOutboundRtpStreamStats) -> bool
self
and other
values to be equal, and is used
by ==
.