Interface RTCIceCandidate
interface RTCIceCandidate {
address: string;
candidate: string;
component: RTCIceComponent;
foundation: string;
port: number;
priority: number;
protocol: RTCIceProtocol;
relatedAddress: string;
relatedPort: number;
sdpMid: string;
sdpMLineIndex: number;
tcpType: RTCIceTcpCandidateType;
type: RTCIceCandidateType;
usernameFragment: string;
toJSON(): RTCIceCandidateInit;
}
address: string;
candidate: string;
component: RTCIceComponent;
foundation: string;
port: number;
priority: number;
protocol: RTCIceProtocol;
relatedAddress: string;
relatedPort: number;
sdpMid: string;
sdpMLineIndex: number;
tcpType: RTCIceTcpCandidateType;
type: RTCIceCandidateType;
usernameFragment: string;
toJSON(): RTCIceCandidateInit;
}
 Index
 Properties
Readonlyaddress
address: string
Readonlycandidate
candidate: string
Readonlycomponent
Readonlyfoundation
foundation: string
Readonlyport
port: number
Readonlypriority
priority: number
Readonlyprotocol
ReadonlyrelatedAddress 
relatedAddress: string
ReadonlyrelatedPort 
relatedPort: number
ReadonlysdpMid 
sdpMid: string
ReadonlysdpMLineIndex 
sdpMLineIndex: number
ReadonlytcpType 
Readonlytype
ReadonlyusernameFragment 
usernameFragment: string
 Methods
toJSON
- toJSON(): RTCIceCandidateInit
- Returns RTCIceCandidateInit
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