Liking cljdoc? Tell your friends :D
ClojureScript only.

web.rtc.RTCPeerConnectionIceEvent

The RTCPeerConnectionIceEvent interface represents events that in relation to ICE candidates with the target, usually an web.video.RTCPeerConnection.

The RTCPeerConnectionIceEvent interface represents events that
in relation to ICE candidates with the target, usually an `web.video.RTCPeerConnection`.
raw docstring

candidatecljs

(candidate this)

Property.

[Read Only]

The read-only candidate property of the web.rtc.RTCPeerConnectionIceEvent returns the web.rtc.RTCIceCandidate associated with the event.

var candidate = event.candidate;

See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate

Property.

[Read Only]

The read-only candidate property of the `web.rtc.RTCPeerConnectionIceEvent`
returns the `web.rtc.RTCIceCandidate` associated with the event.

`var candidate = event.candidate;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate`
sourceraw docstring

constructorcljs

(constructor & args)

Constructor.

The RTCPeerConnectionIceEvent() constructor creates a new web.rtc.RTCPeerConnectionIceEvent.

type Is a web.DOMString containing the name of the event, like "icecandidate". options A dictionary of type RTCPeerConnectionInit, which may contain one or more of the following fields:

"candidate" (optional, default is null): A web.rtc.RTCIceCandidate representing the ICE candidate being concerned by the event. If null, the event indicates the end of candidate gathering. "url" (optional, default is null): The URL of the STUN or TURN server which was used to gather the candidate. If the candidate was not gathered by a STUN or TURN server, this value must be null. "bubbles" (optional, default is false): Inherited from EventInit(), this Boolean option indicates whether or not the event must bubble. "cancelable" (optional, default is false, inherited from EventInit(), this Boolean indicates whether or not the event can be canceled.

See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent

Constructor.

The RTCPeerConnectionIceEvent() constructor creates a new `web.rtc.RTCPeerConnectionIceEvent`.

type
Is a `web.DOMString` containing the name of the event, like \"icecandidate\".
options
A dictionary of type RTCPeerConnectionInit, which may contain one or more of the following fields:

\"candidate\" (optional, default is null): A `web.rtc.RTCIceCandidate` representing the ICE candidate being concerned by the event.  If null, the event indicates the end of candidate gathering.
\"url\" (optional, default is null): The URL of the STUN or TURN server which was used to gather the candidate. If the candidate was not gathered by a STUN or TURN server, this value must be null.
\"bubbles\" (optional, default is false): Inherited from EventInit(), this Boolean option indicates whether or not the event must bubble.
\"cancelable\" (optional, default is false, inherited from EventInit(), this Boolean indicates whether or not the event can be canceled.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close