过时
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
obsolete
RTCIceCandidatePairStats
property
writable
reports whether or not the connection described by the candidate pair is writable.
isWritable = rtcIceCandidatePairStats.writable;
A Boolean value which is
true
if the connection described by this candidate pair has received acknowledgement of receipt (ACK) for at least one ICE request
and
that
STUN
consent hasn't expired.
注意:
This property was removed from the specification in early 2017 because you can determine whether or not an incoming ICE request is available to read by checking to see if
responsesReceived
is greater than 0 and that the time specified by
consentExpiredTimestamp
has not passed:
if (icpStats.responsesReceived > 0
&& icpStats.consentExpiredTimestamp < performance.now()) {
/* at least one ICE response has been received */
}
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
writable
非标
|
Chrome
Yes
|
Edge
≤79
|
Firefox 56 | IE No | Opera ? | Safari ? | WebView Android Yes |
Chrome Android
Yes
|
Firefox Android 56 | 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