The RTCRtpReceiver interface of the WebRTC API manages the reception
decoding of data for a web.audio.MediaStreamTrack
on an web.audio.RTCPeerConnection
.
The RTCRtpReceiver interface of the WebRTC API manages the reception decoding of data for a `web.audio.MediaStreamTrack` on an `web.audio.RTCPeerConnection`.
(get-contributing-sources this)
Method.
The getContributingSources() method of the web.rtc.RTCRtpReceiver
returns an array of web.rtc.RTCRtpContributingSource
instances,
corresponding to one CSRC (contributing source) identifier received
the current RTCRtpReceiver in the last ten seconds.
var rtcRtpContributingSources = rtcRtpReceiver.getContributingSources()
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getContributingSources
Method. The getContributingSources() method of the `web.rtc.RTCRtpReceiver` returns an array of `web.rtc.RTCRtpContributingSource` instances, corresponding to one CSRC (contributing source) identifier received the current RTCRtpReceiver in the last ten seconds. `var rtcRtpContributingSources = rtcRtpReceiver.getContributingSources()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getContributingSources`
(get-stats this)
Method.
The web.rtc.RTCRtpReceiver
method getStats() asynchronously
an web.rtc.RTCStatsReport
object which provides statistics
incoming traffic on the owning web.audio.RTCPeerConnection
,
a js.Promise
whose fulfillment handler will be called once
results are available.
var promise = RTCRtpReceiver.getStats();
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getStats
Method. The `web.rtc.RTCRtpReceiver` method getStats() asynchronously an `web.rtc.RTCStatsReport` object which provides statistics incoming traffic on the owning `web.audio.RTCPeerConnection`, a `js.Promise` whose fulfillment handler will be called once results are available. `var promise = RTCRtpReceiver.getStats();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getStats`
(get-synchronization-sources this)
Method.
The getSynchronizationSources() method of the web.rtc.RTCRtpReceiver
returns an array of web.rtc.RTCRtpContributingSource
instances,
corresponding to one SSRC (synchronization source) identifier
by the current RTCRtpReceiver in the last ten seconds.
var rtcRtpContributingSources = rtcRtpReceiver.getContributingSources()
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getSynchronizationSources
Method. The getSynchronizationSources() method of the `web.rtc.RTCRtpReceiver` returns an array of `web.rtc.RTCRtpContributingSource` instances, corresponding to one SSRC (synchronization source) identifier by the current RTCRtpReceiver in the last ten seconds. `var rtcRtpContributingSources = rtcRtpReceiver.getContributingSources()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/getSynchronizationSources`
(set-track! this val)
Property.
The track read-only property of the web.rtc.RTCRtpReceiver
returns the web.audio.MediaStreamTrack
associated with the
web.rtc.RTCRtpReceiver
instance.
var mediaStreamTrack = rtcRtpReceiver.track
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track
Property. The track read-only property of the `web.rtc.RTCRtpReceiver` returns the `web.audio.MediaStreamTrack` associated with the `web.rtc.RTCRtpReceiver` instance. `var mediaStreamTrack = rtcRtpReceiver.track` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track`
(track this)
Property.
The track read-only property of the web.rtc.RTCRtpReceiver
returns the web.audio.MediaStreamTrack
associated with the
web.rtc.RTCRtpReceiver
instance.
var mediaStreamTrack = rtcRtpReceiver.track
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track
Property. The track read-only property of the `web.rtc.RTCRtpReceiver` returns the `web.audio.MediaStreamTrack` associated with the `web.rtc.RTCRtpReceiver` instance. `var mediaStreamTrack = rtcRtpReceiver.track` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver/track`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close