RTCIceCandidateStats.mozLocalTransport

Obsolete
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.

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The non-standard Mozilla extension to the RTCIceCandidateStats dictionary, mozLocalTransport, has been supplanted by the standard protocol and relayProtocol properties.

Syntax

Instead of using mozLocalTransport, you should use code like this:

localTransport = rtcIceCandidateStats.relayProtocol || rtcIceCandidateStats.protocol;

Specifications

Not part of any specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
relayProtocolChrome No support NoEdge ? Firefox Full support 64
Full support 64
Full support 31
Alternate Name
Alternate Name Uses the non-standard name: mozLocalTransport
IE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android Full support 64
Full support 64
Full support 31
Alternate Name
Alternate Name Uses the non-standard name: mozLocalTransport
Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Uses a non-standard name.
Uses a non-standard name.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, Sheppy
Last updated by: mdnwebdocs-bot,