package js.html.rtc
Available on js
The RTCRtpReceiver
interface of the the WebRTC API manages the reception and decoding of data for a MediaStreamTrack
on an RTCPeerConnection
.
Documentation RTCRtpReceiver by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
read onlytrack:MediaStreamTrack
Returns the MediaStreamTrack
associated with the current RTCRtpReceiver
instance.
getContributingSources():Array<RtpContributingSource>
Returns an array of RTCRtpContributingSource
instances for each unique CSRC (contributing source) identifier received by the current RTCRtpReceiver
in the last ten seconds.
getStats():Promise<StatsReport>
Returns a Promise
whose fulfillment handler receives a RTCStatsReport
which contains statistics about the incoming streams and their dependencies.
getSynchronizationSources():Array<RtpSynchronizationSource>
Returns an array including one RTCRtpSynchronizationSource
instance for each unique SSRC (synchronization source) identifier received by the current RTCRtpReceiver
in the last ten seconds.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/RtpReceiver.html