type property

The RTCIceCandidate interface's read-only type specifies the type of candidate the object represents.

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

Implementation

external RTCIceCandidateType? get type;