RTCIceCandidate
The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.
interface RTCIceCandidate {
readonly address: string | null;
readonly candidate: string;
readonly component: RTCIceComponent | null;
readonly foundation: string | null;
readonly port: number | null;
readonly priority: number | null;
readonly protocol: RTCIceProtocol | null;
readonly relatedAddress: string | null;
readonly relatedPort: number | null;
readonly sdpMid: string | null;
readonly sdpMLineIndex: number | null;
readonly tcpType: RTCIceTcpCandidateType | null;
readonly type: RTCIceCandidateType | null;
readonly usernameFragment: string | null;
toJSON(): RTCIceCandidateInit;
}var RTCIceCandidate: {
prototype: RTCIceCandidate;
new (candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;
};§Properties
§
readonly component: RTCIceComponent | null
[src]§
readonly protocol: RTCIceProtocol | null
[src]§
readonly tcpType: RTCIceTcpCandidateType | null
[src]§
readonly type: RTCIceCandidateType | null
[src]§Methods
§
toJSON(): RTCIceCandidateInit
[src]