Interface 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.

MDN Reference

interface RTCIceCandidate {
    address: string;
    candidate: string;
    component: RTCIceComponent;
    foundation: string;
    port: number;
    priority: number;
    protocol: RTCIceProtocol;
    relatedAddress: string;
    relatedPort: number;
    sdpMLineIndex: number;
    sdpMid: string;
    tcpType: RTCIceTcpCandidateType;
    type: RTCIceCandidateType;
    usernameFragment: string;
    toJSON(): RTCIceCandidateInit;
}

Properties

address: string
candidate: string
component: RTCIceComponent
foundation: string
port: number
priority: number
protocol: RTCIceProtocol
relatedAddress: string
relatedPort: number
sdpMLineIndex: number
sdpMid: string
usernameFragment: string

Methods