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

BCD tables only load in the browser