RTCIceCandidateStats.port

The RTCIceCandidateStats dictionary's port property specifies the network port used by the candidate.

Syntax

candidatePort = rtcIceCandidateStats.port;

Value

An integer value indicating the network port used by the RTCIceCandidate described by the RTCIceCandidateStats object.

Specifications

Specification Status Comment
Identifiers for WebRTC's Statistics API
The definition of 'RTCIceCandidateStats.port' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
portChrome No support NoEdge ? Firefox Full support 27
Alternate Name
Full support 27
Alternate Name
Alternate Name Uses the non-standard name: portNumber
IE No support NoOpera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 27
Alternate Name
Full support 27
Alternate Name
Alternate Name Uses the non-standard name: portNumber
Opera Android ? Safari iOS ? Samsung Internet Android No support No

Legend

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