W3cubDocs

/Web APIs

RTCRemoteOutboundRtpStreamStats

The RTCRemoteOutboundRtpStreamStats dictionary of the WebRTC API is used to report statistics for the remote endpoint's outbound RTP stream corresponding to an inbound stream that is currently received by an RTCPeerConnection object.

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

Instance properties

In addition to the properties defined by RTCSentRtpStreamStats and its underlying RTCRtpStreamStats dictionary, RTCRemoteOutboundRtpStreamStats defines the following properties.

localId

A string which is used to find the local RTCInboundRtpStreamStats object which shares the same Synchronization Source (SSRC).

remoteTimestamp

A DOMHighResTimeStamp specifying the timestamp (on the remote device) at which the statistics in the RTCRemoteOutboundRtpStreamStats object were sent by the remote endpoint. This is different from the timestamp; it represents the time at which the object's statistics were received or generated by the local endpoint.

Common instance properties

The following properties are common to all WebRTC statistics objects.

id

A string that uniquely identifies the object that is being monitored to produce this set of statistics.

timestamp

A DOMHighResTimeStamp object indicating the time at which the sample was taken for this statistics object.

type

A string with the value "remote-outbound-rtp", indicating the type of statistics that the object contains.

Usage notes

The RTCRemoteOutboundRtpStreamStats object's remoteTimestamp property provides statistics based on the received data's NTP timestamp taken from an RTCP Sender Report (SR) block. Be aware that the remote clock may not be synchronized with the local clock (either in current time or speed at which time elapses).

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
RTCRemoteOutboundRtpStreamStats 91 91 27 No 77 11 91 91 27 64 11 16.0
bytesSent 91 91 72 No 77 No 91 91 79 64 No 16.0
codecId 91 91 98 No 77 11 91 91 98 64 11 16.0
id 91 91 72 No 77 No 91 91 79 64 No 16.0
kind 91 91 63 No 77 14 91 91 63 64 14 16.0
localId 91 91 68 No 77 No 91 91 68 64 No 16.0
packetsSent 91 91 72 No 77 No 91 91 79 64 No 16.0
remoteTimestamp 91 91 79 No 77 No 91 91 79 64 No 16.0
reportsSent 91 91 No No 77 No 91 91 No 64 No 16.0
roundTripTimeMeasurements 96 96 No No 82 No 96 96 No 67 No 17.0
ssrc 91 91 27 No 77 11 91 91 27 64 11 16.0
timestamp 91 91 72 No 77 No 91 91 79 64 No 16.0
totalRoundTripTime 96 96 No No 82 No 96 96 No 67 No 17.0
transportId 91 91 No No 77 11 91 91 No 64 11 16.0
type 91 91 72 No 77 No 91 91 79 64 No 16.0

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRemoteOutboundRtpStreamStats