过时
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.
非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
The non-standard Mozilla extension to the
RTCIceCandidateStats
dictionary,
mozLocalTransport
, has been supplanted by the standard
relayProtocol
特性。
Instead of using
mozLocalTransport
, you should use code like this:
localTransport = rtcIceCandidateStats.relayProtocol;
Not part of any specification.
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
relayProtocol
|
Chrome No | Edge No |
Firefox
64
|
IE No | Opera ? | Safari ? | WebView Android No | Chrome Android No |
Firefox Android
64
|
Opera Android ? | Safari iOS ? | Samsung Internet Android No |
完整支持
不支持
兼容性未知
使用非标名称。
RTCIceCandidateStats
address
deleted
mozLocalTransport
networkType
port
协议
relayProtocol
transportId
url
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent