RTCIceCandidate extension type

The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Interactive Connectivity Establishment () configuration which may be used to establish an RTCPeerConnection.

An ICE candidate describes the protocols and routing needed for WebRTC to be able to communicate with a remote device. When starting a WebRTC peer connection, typically a number of candidates are proposed by each end of the connection, until they mutually agree upon one which describes the connection they decide will be best. WebRTC then uses that candidate's details to initiate the connection.

For details on how the ICE process works, see Lifetime of a WebRTC session. The article WebRTC connectivity provides additional useful details.

on
Implemented types

Constructors

RTCIceCandidate([RTCIceCandidateInit candidateInitDict])
factory

Properties

address String?
no setter
candidate String
no setter
component RTCIceComponent?
no setter
foundation String?
no setter
hashCode int
The hash code for this object.
no setterinherited
port int?
no setter
priority int?
no setter
protocol RTCIceProtocol?
no setter
relatedAddress String?
no setter
relatedPort int?
no setter
relayProtocol RTCIceServerTransportProtocol?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdpMid String?
no setter
sdpMLineIndex int?
no setter
tcpType RTCIceTcpCandidateType?
no setter
type RTCIceCandidateType?
no setter
url String?
no setter
usernameFragment String?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() RTCIceCandidateInit
The RTCIceCandidate method toJSON() converts the RTCIceCandidate on which it's called into JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited