RTCIceCandidatePairStats.firstRequestTimestamp
The RTCIceCandidatePairStats
property
firstRequestTimestamp
specifies the time at which the
first STUN request was sent on the described candidate pair.
Value
A DOMHighResTimeStamp
object indicating the timestamp at which the first
STUN request was sent on the connection described by the described pair of candidates.
You can use this value in combination with
lastRequestTimestamp
and
requestsSent
to compute the
average interval between consecutive connectivity checks:
avgCheckInterval = (candidatePairStats.lastRequestTimestamp -
candidatePairStats.firstRequestTimestamp) /
candidatePairStats.requestsSent;
Specifications
Specification |
---|
Identifiers for WebRTC's Statistics API # dom-rtcicecandidatepairstats-firstrequesttimestamp |
Browser compatibility
BCD tables only load in the browser