The RTCIceCandidatePairStats dictionary's requestsSent property indicates the total number of STUN connectivity check requests that have been sent so far on the connection described by this pair of candidates.


requestsSent = rtcIceCandidatePairStats.requestsSent;


An integer value which specifies the number of STUN connectivity requests that have been sent to date on the connection described by this pair of ICE candidates.

Note: The reported number of requests does not include retransmissions. If a request had to be repeated due to network issues, it will be counted multiple times here. This differs from requestsReceived, which does include retransmisions.


Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.requestsSent' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

BCD tables only load in the browser