RTCIceCandidate
The RTCIceCandidate
interface—part of the WebRTC API—represents a candidate Interactive Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.
Properties
The read-only component
property on the RTCIceCandidate interface is a string which indicates whether the candidate is an RTP or an RTCP candidate.
The foundation
read-only property of the RTCIceCandidate interface is a string that allows correlation of candidates from a common network path on multiple RTCIceTransport objects.
The RTCIceCandidate interface's read-only protocol
property is a string which indicates whether the candidate uses UDP or TCP as its transport protocol.
The RTCIceCandidate interface's read-only relatedAddress
property is a string indicating the related address of a relay or reflexive candidate.
The RTCIceCandidate interface's read-only relatedPort
property indicates the port number of reflexive or relay candidates.
The read-only sdpMLineIndex
property on the RTCIceCandidate interface is a zero-based index of the m-line describing the media associated with the candidate.
The RTCIceCandidate interface's read-only tcpType
property is included on TCP candidates to provide additional details about the candidate type.
The RTCIceCandidate interface's read-only type
specifies the type of candidate the object represents.
The read-only usernameFragment
property on the RTCIceCandidate interface is a string indicating the username fragment ('ufrag') that uniquely identifies a single ICE interaction session.