Table of Contents

Class RTCRemoteOutboundRtpStreamStats

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The RTCRemoteOutboundRtpStreamStats dictionary of the WebRTC API is used to report statistics from a remote endpoint about its outbound RTP stream.
This will correspond to an inbound stream that is currently being received by the local RTCPeerConnection object.

[ToObject]
public class RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats
Inheritance
RTCRemoteOutboundRtpStreamStats
Inherited Members

Remarks

The statistics can be obtained by iterating the RTCStatsReport returned by GetStats(MediaStreamTrack?) until you find a report with the type of remote-outbound-rtp.

See also on MDN

Constructors

RTCRemoteOutboundRtpStreamStats()

public RTCRemoteOutboundRtpStreamStats()

Fields

LocalId

The RTCRemoteOutboundRtpStreamStats dictionary's localId property is a string which can be used to identify the RTCInboundRtpStreamStats object whose RemoteId matches this value.

[Value("localId")]
public string LocalId

Field Value

string

A string which can be compared to the value of an RTCInboundRtpStreamStats object's RemoteId property to see if the two represent statistics for each of the two sides of the same set of data received by the local peer.

Remarks

Together, these two objects provide statistics about the inbound and outbound sides of the same synchronization source (SSRC).

See also on MDN

RemoteTimestamp

The RTCRemoteOutboundRtpStreamStats property remoteTimestamp indicates the timestamp on the remote peer at which these statistics were sent.
This differs from timestamp, which indicates the time at which the statistics were generated or received locally.

[Value("remoteTimestamp")]
public Number RemoteTimestamp

Field Value

Number

A Number value indicating the timestamp on the remote peer at which it sent these statistics.
This is different from the value timestamp, which gives the time at which the statistics were generated or received by the local peer.If this property is present, it comes from the RTCP Sender Report (SR) block, which reflects the clock on the remote peer at the time the message was sent.
Keep in mind that this means the clock may not be synchronized with the local clock, and that both the current time and the pace at which the clock runs may differ to some extent.

Remarks

ReportsSent

[Value("reportsSent")]
public ulong ReportsSent

Field Value

ulong

RoundTripTime

[Value("roundTripTime")]
public Number RoundTripTime

Field Value

Number

RoundTripTimeMeasurements

NOTE
Experimental
The roundTripTimeMeasurements property of the RTCRemoteOutboundRtpStreamStats dictionary is a positive integer value that represents the total number valid round of trip time measurements received for this synchronizing source (SSRC).
[Value("roundTripTimeMeasurements")]
public ulong RoundTripTimeMeasurements

Field Value

ulong

A positive number indicating the number of valid round trip time measurements.This is the number of RTCP Sender Reports (SR) received for this SSRC that contain a "delay since last RR (DLRR)" field from which a valid round trip time can be derived (according to {{rfc("3611","DLRR Report Block", "4.5")}}).

Remarks

The count can be used as a measure of the availability and reliability of round trip time measurement data.

See also on MDN

TotalRoundTripTime

NOTE
Experimental
The totalRoundTripTime property of the RTCRemoteOutboundRtpStreamStats dictionary indicates the sum of all round trip time (RTT) measurements since the beginning of the session, in seconds.
[Value("totalRoundTripTime")]
public Number TotalRoundTripTime

Field Value

Number

A number indicating the total round trip time for the session, in seconds.

Remarks

The individual round trip time is calculated based on RTCP timestamps in the DLRR report block of RTCP Sender Reports (SR).
The average RTT can be computed by dividing totalRoundTripTime by RoundTripTimeMeasurements.

-rfc("3611","DLRR Report Block", "4.5")

See also on MDN