Skip to content

Commit

Permalink
RTCRemoteOutboundRtpStreamStats improve description
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee committed Mar 12, 2024
1 parent 0b269e2 commit 4a1d1e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/en-us/web/api/rtcremoteoutboundrtpstreamstats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ browser-compat: api.RTCStatsReport.type_remote-outbound-rtp

{{APIRef("WebRTC")}}

The **`RTCRemoteOutboundRtpStreamStats`** dictionary of the [WebRTC API](/en-US/docs/Web/API/WebRTC_API) is used to report statistics from remote endpoint of its outbound RTP stream, which corresponds to an inbound stream that is currently received by an {{domxref("RTCPeerConnection")}} object.
The **`RTCRemoteOutboundRtpStreamStats`** dictionary of the [WebRTC API](/en-US/docs/Web/API/WebRTC_API) is used to report statistics from remote endpoint about its outbound RTP stream.
These will corresponds to an inbound stream that is currently received by the local {{domxref("RTCPeerConnection")}} object.

The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} returned by {{domxref("RTCPeerConnection.getStats()")}} until you find a report with the [`type`](#type) of `remote-outbound-rtp`.

Expand Down

0 comments on commit 4a1d1e1

Please sign in to comment.