Class: IceCandidate
#
Constructors#
constructor• new IceCandidate(component
, foundation
, ip
, port
, priority
, protocol
, type
)
#
ParametersName | Type |
---|---|
component | number |
foundation | string |
ip | string |
port | number |
priority | number |
protocol | string |
type | string |
#
Defined inpackages/webrtc/src/transport/ice.ts:185
#
Properties#
component• component: number
#
foundation• foundation: string
#
ip• ip: string
#
port• port: number
#
priority• priority: number
#
protocol• protocol: string
#
relatedAddress• Optional
relatedAddress: string
#
Defined inpackages/webrtc/src/transport/ice.ts:181
#
relatedPort• Optional
relatedPort: number
#
Defined inpackages/webrtc/src/transport/ice.ts:182
#
sdpMLineIndex• Optional
sdpMLineIndex: number
#
Defined inpackages/webrtc/src/transport/ice.ts:184
#
sdpMid• Optional
sdpMid: string
#
Defined inpackages/webrtc/src/transport/ice.ts:183
#
tcpType• Optional
tcpType: string
#
Defined inpackages/webrtc/src/transport/ice.ts:185
#
type• type: string
#
Methods#
toJSON▸ toJSON(): RTCIceCandidate
#
Returns#
Defined inpackages/webrtc/src/transport/ice.ts:197
#
fromJSON▸ Static
fromJSON(data
): undefined
| IceCandidate
#
ParametersName | Type |
---|---|
data | RTCIceCandidate |
#
Returnsundefined
| IceCandidate