RTCIceCandidatePairStats
dictionary's
requestsReceived
property indicates the total number of
STUN
connectivity check requests that have been received so far on the connection described by this pairing of candidates.
requestsReceived = rtcIceCandidatePairStats.requestsReceived;
An integer value which specifies the number of STUN connectivity and/or consent requests that have been received to date on the connection described by this pair of ICE candidates.
Because there's no way to tell the difference between requests made to check connectivity and requests made to check consent, the returned figure includes both.
注意:
The reported number of requests includes retransmissions. If a request had to be repeated due to network issues, it will be counted multiple times here. This differs from
requestsSent
, which
does not
include retransmisions.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidatePairStats.requestsReceived' in that specification. |
候选推荐 | 最初的规范。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
requestsReceived
|
Chrome Yes | Edge ≤79 | Firefox No | IE No | Opera ? | Safari ? | WebView Android Yes | Chrome Android Yes | Firefox Android No | Opera Android ? | Safari iOS ? | Samsung Internet Android Yes |
完整支持
不支持
兼容性未知
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