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
Readonly
address
address: string
Readonly
candidate
candidate: string
Readonly
component
Readonly
foundation
foundation: string
Readonly
port
port: number
Readonly
priority
priority: number
Readonly
protocol
Readonly
relatedAddress
relatedAddress : string
Readonly
relatedPort
relatedPort : number
Readonly
sdpMid
sdpMid : string
Readonly
sdpMLineIndex
sdpMLineIndex : number
Readonly
tcpType
Readonly
type
Readonly
usernameFragment
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