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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
port
No
No
27
No
?
12.1
No
No
27
?
12.2
No

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidateStats/port