RTCIceCandidatePairStats
property
firstRequestTimestamp
specifies the time at which the first
STUN
request was sent on the described candidate pair.
firstRequestTimestamp = rtcIceCandidatePairStats.firstRequestTimestamp;
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;
| 规范 | 状态 | 注释 |
|---|---|---|
|
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.firstRequestTimestamp' in that specification. |
候选推荐 | 最初的规范。 |
No compatibility data found. Please contribute data for "api.RTCIceCandidatePairStats.firstRequestTimestamp" (depth: 1) to the MDN 兼容性数据存储库 .
RTCIceCandidatePairStats
availableOutgoingBitrate
bytesReceived
circuitBreakerTriggerCount
consentExpiredTimestamp
firstRequestTimestamp
lastPacketReceivedTimestamp
lastPacketSentTimestamp
lastRequestTimestamp
lastResponseTimestamp
localCandidateId
nominated
packetsReceived
packetsSent
priority
readable
remoteCandidateId
requestsReceived
requestsSent
responsesReceived
responsesSent
retransmissionsReceived
state
totalRoundTripTime
transportId
writable
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent