port property

int? get port

The RTCIceCandidate interface's read-only port property contains the port number on the device at the address given by RTCIceCandidate.address at which the candidate's peer can be reached.

The port field's value is set from the candidateInfo options object passed to the RTCIceCandidate.RTCIceCandidate constructor. You can't specify the value of port directly in the options object, but its value is automatically extracted from the object's candidate a-line, if it's formatted properly.

Implementation

external int? get port;