The RTCIceCandidate interface of the the WebRTC API represents a candidate internet connectivity establishment (ICE) server for establishing an RTCPeerConnection.

Documentation RTCIceCandidate by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (?candidateInitDict:IceCandidateInit)

Throws:

null

DOMError

Variables

candidate:String

Returns a transport address for the candidate that can be used for connectivity checks. The format of this address is a candidate-attribute as defined in RTC 5245.

sdpMLineIndex:Int

If not null, this indicates the index (starting at zero) of the media description (as defined in RFC 4566) in the SDP this candidate is associated with.

sdpMid:String

If not null, this contains the identifier of the "media stream identification" (as defined in RFC 5888) for the media component this candidate is associated with.