This feature is well established and works across many devices and browser versions. It’s been available across browsers since May 2021.
* Some parts of this feature may have varying levels of support.
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.
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.
localId Optional
A string which is used to find the local RTCInboundRtpStreamStats object that shares the same synchronization source (SSRC).
remoteTimestamp Optional
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.
reportsSent Optional Experimental A positive integer indicating the total number of RTCP Sender Report (SR) blocks sent for this synchronization source (SSRC).
roundTripTimeMeasurements Optional Experimental
A positive number that represents the total number of valid round trip time measurements received for this synchronization source (SSRC).
totalRoundTripTime Optional Experimental
A number indicating the cumulative sum of all round trip time measurements since the beginning of the session, in seconds. The average round trip time can be computed by dividing totalRoundTripTime by roundTripTimeMeasurements.
bytesSent OptionalA positive integer indicating the total number of bytes sent for this SSRC, including retransmissions.
packetsSent OptionalA positive integer indicating the total number of RTP packets sent for this SSRC, including retransmissions.
codecId Optional
A string that uniquely identifies the object that was inspected to produce the RTCCodecStats report associated with this RTP stream.
kindA string indicating whether the MediaStreamTrack associated with the stream is an audio or a video track.
ssrcA positive integer that identifies the synchronization source (SSRC) of the RTP packets in this stream.
transportId Optional
A string that uniquely identifies the object that was inspected to produce the RTCTransportStats report associated with this RTP stream.
The following properties are common to all WebRTC statistics objects.
idA string that uniquely identifies the object that is being monitored to produce this set of statistics.
timestampA DOMHighResTimeStamp object indicating the time at which the sample was taken for this statistics object.
typeA string with the value "remote-outbound-rtp", indicating the type of statistics that the object contains.
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).
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
RTCRemoteOutboundRtpStreamStats |
91 | 91 | 27 | 77 | 11 | 91 | 27 | 64 | 11 | 16.0 | 91 | 11 |
bytesSent |
91 | 91 | 72 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
codecId |
91 | 91 | 98 | 77 | 11 | 91 | 98 | 64 | 11 | 16.0 | 91 | 11 |
id |
91 | 91 | 72 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
kind |
91 | 91 | 63 | 77 | 14 | 91 | 63 | 64 | 14 | 16.0 | 91 | 14 |
localId |
91 | 91 | 68 | 77 | No | 91 | 68 | 64 | No | 16.0 | 91 | No |
packetsSent |
91 | 91 | 72 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
remoteTimestamp |
91 | 91 | 79 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
reportsSent |
91 | 91 | No | 77 | No | 91 | No | 64 | No | 16.0 | 91 | No |
roundTripTimeMeasurements |
96 | 96 | No | 82 | No | 96 | No | 67 | No | 17.0 | 96 | No |
ssrc |
91 | 91 | 27 | 77 | 11 | 91 | 27 | 64 | 11 | 16.0 | 91 | 11 |
timestamp |
91 | 91 | 72 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
totalRoundTripTime |
96 | 96 | No | 82 | No | 96 | No | 67 | No | 17.0 | 96 | No |
transportId |
91 | 91 | No | 77 | 11 | 91 | No | 64 | 11 | 16.0 | 91 | 11 |
type |
91 | 91 | 72 | 77 | No | 91 | 79 | 64 | No | 16.0 | 91 | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRemoteOutboundRtpStreamStats