Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Nov 1, 2024
1 parent f429d8a commit f25b734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The **`currentRoundTripTime`** property of the {{domxref("RTCIceCandidatePairSta

## Value

A real number indicating the round-trip time, in seconds, for the connection described by the pair of candidates for which this `RTCIceCandidatePairStats` object offers statistics.
A number indicating the round-trip time, in seconds, for the connection described by the pair of candidates for which this `RTCIceCandidatePairStats` object offers statistics.

This value is computed by observing the time that elapsed between the most recent {{Glossary("STUN")}} request being sent to the remote peer and the response to that request arriving.
This information may come from ongoing STUN connectivity checks as well as from consent requests made when the connection was initially being opened.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/rtcicecandidatepairstats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} re
- {{domxref("RTCIceCandidatePairStats/consentRequestsSent", "consentRequestsSent")}} {{optional_inline}}
- : An integer representing the total number of [STUN](/en-US/docs/Web/API/WebRTC_API/Protocols#stun) consent requests sent on this candidate pair.
- {{domxref("RTCIceCandidatePairStats.currentRoundTripTime", "currentRoundTripTime")}} {{optional_inline}}
- : A real number representing the total time, in seconds, that elapsed between the most recently-sent STUN request and the response being received.
- : A number representing the total time, in seconds, that elapsed between the most recently-sent STUN request and the response being received.
This may be based upon requests that were involved in confirming permission to open the connection.
- {{domxref("RTCIceCandidatePairStats.lastPacketReceivedTimestamp", "lastPacketReceivedTimestamp")}} {{optional_inline}}
- : A {{domxref("DOMHighResTimeStamp")}} value indicating the time at which the last packet was received by the local peer from the remote peer for this candidate pair. Timestamps are not recorded for STUN packets.
Expand Down

0 comments on commit f25b734

Please sign in to comment.