The RTCIceCandidatePairStats
property firstRequestTimestamp
specifies the time at which the first STUN request was sent on the described candidate pair.
Syntax
firstRequestTimestamp = rtcIceCandidatePairStats.firstRequestTimestamp;
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 | Status | Comment |
---|---|---|
Identifiers for WebRTC's Statistics API The definition of 'RTCIceCandidatePairStats.firstRequestTimestamp' in that specification. |
Candidate Recommendation | Initial specification. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "api.RTCIceCandidatePairStats.firstRequestTimestamp" (depth: 1) to the MDN compatibility data repository.