The RTCIceCandidatePairStats
dictionary's retransmissionsSent
property indicates the total number of STUN connectivity check request retransmissions that have been sent so far on the pair of candidates.
The number of retransmissions that have been received on the connection can be found in retransmissionsReceived
.
retransmissionsSent = rtcIceCandidatePairStats.retransmissionsSent;
An integer value indicating the total number of retransmitted STUN connectivity check requests have been sent on the connection referenced by this candidate pair so far.
Note: Retransmissions are connectivity check requests with a TRANSACTION_TRANSMIT_COUNTER
attribute whose req
field is greater than 1 (indicating that the request has been transmitted more than once). See RFC 7982 for further details.