The RTCRtpSender interface provides the ability to control and
details about how a particular web.video.MediaStreamTrack
is
and sent to a remote peer.
The RTCRtpSender interface provides the ability to control and details about how a particular `web.video.MediaStreamTrack` is and sent to a remote peer.
(dtmf this)
Property.
[Read Only]
The read-only dtmf property on the web.video.RTCRtpSender
interface
a web.rtc.RTCDTMFSender
object which can be used to send DTMF
over the web.video.RTCPeerConnection
. See Using DTMF for details
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.video.RTCRtpSender` interface a `web.rtc.RTCDTMFSender` object which can be used to send DTMF over the `web.video.RTCPeerConnection` . See Using DTMF for details 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`
(get-parameters this)
Method.
The getParameters() method of the web.video.RTCRtpSender
interface
an web.video.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.video.RTCRtpSender` interface an `web.video.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`
(get-stats this)
Method.
The web.video.RTCRtpSender
method getStats() asynchronously
an web.rtc.RTCStatsReport
object which provides statistics
outgoing traffic on the web.video.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.video.RTCRtpSender` method getStats() asynchronously an `web.rtc.RTCStatsReport` object which provides statistics outgoing traffic on the `web.video.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`
(replace-track this new-track)
Method.
The web.video.RTCRtpSender
method replaceTrack() replaces the
currently being used as the sender's source with a new web.video.MediaStreamTrack
.
trackReplacedPromise = sender.replaceTrack(newTrack);
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack
Method. The `web.video.RTCRtpSender` method replaceTrack() replaces the currently being used as the sender's source with a new `web.video.MediaStreamTrack`. `trackReplacedPromise = sender.replaceTrack(newTrack);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack`
(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.
(set-parameters this parameters)
Method.
The setParameters() method of the web.video.RTCRtpSender
interface
changes the configuration of sender's track
, which is the web.video.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.video.RTCRtpSender` interface changes the configuration of sender's `track`, which is the `web.video.MediaStreamTrack` which the RTCRtpSender is responsible. `var promise = rtcRtpSender.setParameters(parameters)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/setParameters`
(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.
(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.
(track this)
Property.
[Read Only]
The track read-only property of the web.video.RTCRtpSender
returns the web.video.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.video.RTCRtpSender` returns the `web.video.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`
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close