RTCIceCandidateStats
接口的
candidateType
property is a string which indicates the type of
ICE
candidate the object represents.
candidateType = rtcIceCandidateStats.candidateType;
A
DOMString
whose value is one of the strings found in the
RTCIceCandidateType
enumerated type:
host
RTCIceCandidate.ip
property is in fact the true address of the remote peer.
srflx
ip
indicates an intermediary address assigned by the
STUN
server to represent the candidate's peer anonymously.
prflx
ip
is an intermediary address assigned by the STUN server to represent the candidate's peer anonymously.
relay
| 规范 | 状态 | 注释 |
|---|---|---|
|
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidateStats.candidateType' in that specification. |
候选推荐 | 最初的规范。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
candidateType
|
Chrome No | Edge No | Firefox 27 | IE No | Opera ? | Safari ? | WebView Android No | Chrome Android No | Firefox Android 27 | Opera Android ? | Safari iOS ? | Samsung Internet Android No |
完整支持
不支持
兼容性未知
RTCIceCandidateStats
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent