Liking cljdoc? Tell your friends :D

rtc.RTCPeerConnectionIceEvent

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

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

candidatecljs

(candidate this)

Property.

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

var candidate = event.candidate;

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

Property.

The read-only candidate property of the `rtc.RTCPeerConnectionIceEvent`
returns the `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.

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

type Is a dom.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 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 `rtc.RTCPeerConnectionIceEvent`.

type
Is a `dom.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 `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

set-candidate!cljs

(set-candidate! this val)

Property.

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

var candidate = event.candidate;

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

Property.

The read-only candidate property of the `rtc.RTCPeerConnectionIceEvent`
returns the `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

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

× close