pub struct RtcRemoteOutboundRtpStreamStats {
pub sent_stream: RtcSentRtpStreamStats,
pub local_id: Option<String>,
pub remote_timestamp: Option<HighResTimeStamp>,
pub reports_sent: Option<u64>,
pub round_trip_time: Option<Double>,
pub total_round_trip_time: Option<Double>,
pub round_trip_time_measurements: Option<u64>,
}Expand description
Remote endpoint’s measurement metrics for its outgoing RTP stream (corresponding to an outgoing RTP stream at the sending endpoint).
The timestamp reported in this statistics object is the time at which the corresponding RTCP SR was received.
Fields§
§sent_stream: RtcSentRtpStreamStatsGeneric egress RTP stream data.
local_id: Option<String>Identifier of the local RtcInboundRtpStreamStats object for the same
SSRC.
remote_timestamp: Option<HighResTimeStamp>Remote timestamp at which these statistics were sent by the remote endpoint.
This differs from the RtcStat::timestamp, which represents the time
at which the statistics were generated or received by the local
endpoint.
The remote timestamp, 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 Sender Report (SR) blocks sent for this SSRC.
round_trip_time: Option<Double>Estimated round trip time for this SSRC based on the latest RTCP Sender Report (SR) that contains a DLRR report block as defined in RFC3611.
The calculation of the round trip time is defined in Section 4.5 of RFC3611.
MUST NOT exist if the latest SR does not contain the DLRR report block, or if the last RR timestamp in the DLRR report block is zero, or if the delay since last RR value in the DLRR report block is zero.
total_round_trip_time: Option<Double>Cumulative sum of all round trip time measurements in seconds since the beginning of the session.
The individual round trip time is calculated based on the DLRR report block in the RTCP Sender Report (SR) RFC3611.
This counter will not increment if the round_trip_time can not be
calculated. The average round trip time can be computed from the
total_round_trip_time by dividing it by
round_trip_time_measurements.
round_trip_time_measurements: Option<u64>Total number of RTCP Sender Report (SR) blocks received for this SSRC that contain a DLRR report block that can derive a valid round trip time according to RFC3611.
This counter will not increment if the round_trip_time can not be
calculated.
Trait Implementations§
Source§impl Clone for RtcRemoteOutboundRtpStreamStats
impl Clone for RtcRemoteOutboundRtpStreamStats
Source§fn clone(&self) -> RtcRemoteOutboundRtpStreamStats
fn clone(&self) -> RtcRemoteOutboundRtpStreamStats
1.0.0§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>,
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)