Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: wbamberg <[email protected]>
  • Loading branch information
hamishwillee and wbamberg authored Nov 1, 2024
1 parent 191f5f9 commit f429d8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can get the outgoing available bitrate from {{domxref("RTCIceCandidatePairSt

## Value

A number value which approximates the amount of available bandwidth for incoming data on the network connection described by the `RTCIceCandidatePair`.
A number which approximates the amount of available bandwidth for incoming data on the network connection described by the `RTCIceCandidatePair`.
The value is reported in bits per second and is computed over a 1-second interval.

The value returned is calculated by adding up the available bit rate for every {{Glossary("RTP")}} stream using the connection described by this candidate pair.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can get the incoming available bitrate from {{domxref("RTCIceCandidatePairSt

## Value

A number value which approximates the amount of available bandwidth for outgoing data on the network connection described by the
A number which approximates the amount of available bandwidth for outgoing data on the network connection described by the
`RTCIceCandidatePair`.
The value is reported in bits per second and is computed over a 1-second interval.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/rtcicecandidatepairstats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} re
## Instance properties

- {{domxref("RTCIceCandidatePairStats.availableIncomingBitrate", "availableIncomingBitrate")}} {{optional_inline}} <!-- Not in BCD but is in spec IDL. -->
- : An number representing the available inbound capacity of the network.
- : A number representing the available inbound capacity of the network.
This reports the total number of bits per second available for all of the candidate pair's incoming {{Glossary("RTP")}} streams.
It does not take into account the size of the Internet Protocol (IP) overhead, nor any other transport layers such as {{Glossary("TCP")}} or {{Glossary("UDP")}}.
- {{domxref("RTCIceCandidatePairStats.availableOutgoingBitrate", "availableOutgoingBitrate")}} {{optional_inline}}
Expand Down Expand Up @@ -59,7 +59,7 @@ The statistics can be obtained by iterating the {{domxref("RTCStatsReport")}} re
- {{domxref("RTCIceCandidatePairStats.state", "state")}} {{optional_inline}}
- : A string which indicates the state of the connection between the two candidates.
- {{domxref("RTCIceCandidatePairStats.totalRoundTripTime", "totalRoundTripTime")}} {{optional_inline}}
- : A number value indicating the total time, in seconds, that has elapsed between sending STUN requests and receiving responses to them, for all such requests made to date on this candidate pair.
- : A number indicating the total time, in seconds, that has elapsed between sending STUN requests and receiving responses to them, for all such requests made to date on this candidate pair.
This includes both connectivity check and consent check requests. You can compute the average round trip time (RTT) by dividing this value by {{domxref("RTCIceCandidatePairStats.responsesReceived", "responsesReceived")}}.
- {{domxref("RTCIceCandidatePairStats.transportId", "transportId")}} {{optional_inline}}
- : A string that uniquely identifies the {{domxref("RTCIceTransport")}} that was inspected to obtain the transport-related statistics (as found in {{domxref("RTCTransportStats")}}) used in generating this object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The **`remoteCandidateId`** property of the {{domxref("RTCIceCandidatePairStats"

## Value

A string uniquely identifies the remote {{Glossary("ICE")}} candidate—that is, the candidate describing a configuration for the remote peer—which is represented by the remote end of these statistics.
A string uniquely identifying the remote {{Glossary("ICE")}} candidate—that is, the candidate describing a configuration for the remote peer—which is represented by the remote end of these statistics.

## Specifications

Expand Down

0 comments on commit f429d8a

Please sign in to comment.