Liking cljdoc? Tell your friends :D

web.audio.RTCRtpSender

The RTCRtpSender interface provides the ability to control and details about how a particular web.audio.MediaStreamTrack is and sent to a remote peer.

The RTCRtpSender interface provides the ability to control and
details about how a particular `web.audio.MediaStreamTrack` is
and sent to a remote peer.
raw docstring

dtmfcljs

(dtmf this)

Property.

[Read Only]

The read-only dtmf property on the web.audio.RTCRtpSender interface a web.audio.RTCDTMFSender object which can be used to send tones over the web.audio.RTCPeerConnection . See Using DTMF details on how to make use of the returned RTCDTMFSender object.

var dtmfSender = RTCRtpSender.dtmf;

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

Property.

[Read Only]

The read-only dtmf property on the `web.audio.RTCRtpSender` interface
a `web.audio.RTCDTMFSender` object which can be used to send
tones over the `web.audio.RTCPeerConnection` . See Using DTMF
details on how to make use of the returned RTCDTMFSender object.

`var dtmfSender = RTCRtpSender.dtmf;`

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

get-parameterscljs

(get-parameters this)

Method.

The getParameters() method of the web.audio.RTCRtpSender interface an web.audio.RTCRtpSendParameters object describing the current for the encoding and transmission of media on the RTCRtpSender.track

var rtpSendParameters = rtpSender.getParameters()

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

Method.

The getParameters() method of the `web.audio.RTCRtpSender` interface
an `web.audio.RTCRtpSendParameters` object describing the current
for the encoding and transmission of media on the `RTCRtpSender.track`

`var rtpSendParameters = rtpSender.getParameters()`

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

get-statscljs

(get-stats this)

Method.

The web.audio.RTCRtpSender method getStats() asynchronously an web.rtc.RTCStatsReport object which provides statistics outgoing traffic on the web.audio.RTCPeerConnection which owns sender, returning a js.Promise which is fulfilled when the are available.

var promise = RTCRtpSender.getStats();

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

Method.

The `web.audio.RTCRtpSender` method getStats() asynchronously
an `web.rtc.RTCStatsReport` object which provides statistics
outgoing traffic on the `web.audio.RTCPeerConnection` which owns
sender, returning a `js.Promise` which is fulfilled when the
are available.

`var promise = RTCRtpSender.getStats();`

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

replace-trackcljs

(replace-track this new-track)

Method.

The web.audio.RTCRtpSender method replaceTrack() replaces the currently being used as the sender's source with a new web.audio.MediaStreamTrack.

trackReplacedPromise = sender.replaceTrack(newTrack);

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

Method.

The `web.audio.RTCRtpSender` method replaceTrack() replaces the
currently being used as the sender's source with a new `web.audio.MediaStreamTrack`.

`trackReplacedPromise = sender.replaceTrack(newTrack);`

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

rtcp-transportcljs

(rtcp-transport this)

Property.

The transport over which Real-time Transport Control Protocol information is exchanged. This value is null before the RTCDtlsTransport is created. When bundling is in use, more than one RTCRtpSender share the same transport, sending all RTP and RTCP information that one transport.

Property.

The transport over which Real-time Transport Control Protocol
information is exchanged. This value is null before the RTCDtlsTransport
is created. When bundling is in use, more than one RTCRtpSender
share the same transport, sending all RTP and RTCP information
that one transport.
sourceraw docstring

set-parameterscljs

(set-parameters this parameters)

Method.

The setParameters() method of the web.audio.RTCRtpSender interface changes the configuration of sender's track, which is the web.audio.MediaStreamTrack which the RTCRtpSender is responsible.

var promise = rtcRtpSender.setParameters(parameters)

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

Method.

The setParameters() method of the `web.audio.RTCRtpSender` interface
changes the configuration of sender's `track`, which is the `web.audio.MediaStreamTrack`
which the RTCRtpSender is responsible.

`var promise = rtcRtpSender.setParameters(parameters)`

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

set-rtcp-transport!cljs

(set-rtcp-transport! this val)

Property.

The transport over which Real-time Transport Control Protocol information is exchanged. This value is null before the RTCDtlsTransport is created. When bundling is in use, more than one RTCRtpSender share the same transport, sending all RTP and RTCP information that one transport.

Property.

The transport over which Real-time Transport Control Protocol
information is exchanged. This value is null before the RTCDtlsTransport
is created. When bundling is in use, more than one RTCRtpSender
share the same transport, sending all RTP and RTCP information
that one transport.
sourceraw docstring

set-transport!cljs

(set-transport! this val)

Property.

The RTCDtlsTransport over which media data for the track is being The data is transmitted using RTP packets. Before the transport established, this value is null.

Property.

The RTCDtlsTransport over which media data for the track is being
The data is transmitted using RTP packets. Before the transport
established, this value is null.
sourceraw docstring

trackcljs

(track this)

Property.

[Read Only]

The track read-only property of the web.audio.RTCRtpSender returns the web.audio.MediaStreamTrack which is being handled the RTCRtpSender. If track is null, the RTCRtpSender doesn't anything.

var mediaStreamTrack = RTCRtpSender.track

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

Property.

[Read Only]

The track read-only property of the `web.audio.RTCRtpSender`
returns the `web.audio.MediaStreamTrack` which is being handled
the RTCRtpSender. If track is null, the RTCRtpSender doesn't
anything.

`var mediaStreamTrack = RTCRtpSender.track`

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

transportcljs

(transport this)

Property.

The RTCDtlsTransport over which media data for the track is being The data is transmitted using RTP packets. Before the transport established, this value is null.

Property.

The RTCDtlsTransport over which media data for the track is being
The data is transmitted using RTP packets. Before the transport
established, this value is null.
sourceraw docstring

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

× close