package js.html.rtc
Available on js
The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.
Documentation RTCIceCandidate by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
new(candidateInitDict:IceCandidateInit)Throws:
null |
DOMError |
|---|
candidate:StringA DOMString representing the transport address for the candidate that can be used for connectivity checks. The format of this address is a candidate-attribute as defined in {{RFC(5245)}}. This string is empty ("") if the RTCIceCandidate is an "end of candidates" indicator.
sdpMLineIndex:IntIf not null, sdpMLineIndex indicates the zero-based index number of the media description (as defined in RFC 4566) in the SDP with which the candidate is associated.
sdpMid:StringA DOMString specifying the candidate's media stream identification tag which uniquely identifies the media stream within the component with which the candidate is associated, or null if no such association exists.
toJSON():Dynamic
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/IceCandidate.html