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 for RtcRemoteOutboundRtpStreamStats
impl PartialEq 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 ==.impl StructuralPartialEq for RtcRemoteOutboundRtpStreamStats
Auto Trait Implementations§
impl Freeze for RtcRemoteOutboundRtpStreamStats
impl RefUnwindSafe for RtcRemoteOutboundRtpStreamStats
impl Send for RtcRemoteOutboundRtpStreamStats
impl Sync for RtcRemoteOutboundRtpStreamStats
impl Unpin for RtcRemoteOutboundRtpStreamStats
impl UnwindSafe for RtcRemoteOutboundRtpStreamStats
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)