The RTCRtpReceiver interface of the the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
RTCRtpReceiver.trackRead only
MediaStreamTrack associated with the current RTCRtpReceiver instance. RTCRtpReceiver.transportRead only
RTCDtlsTransport instance over which the media for the receiver's track is received.RTCRtpReceiver.rtcpTransportRead only
RTCDtlsTransport instance over which RTCP is sent and received.RTCRtpReceiver.getCapabilities()RTCRtpReceiver.getParameters() RTCRtpReceiver.getContributingSources()RTCRtpContributingSource instances for each unique CSRC identifier received by the current RTCRtpReceiver in the last ten seconds.RTCRtpReceiver.getSynchronizationSources() RTCRtpSynchronizationSource instance for each unique SSRC identifier received by the current RTCRtpReceiver in the last ten seconds.RTCRtpReceiver.getStats()Promise whose fulfillment handler receives a RTCStatsReport which contains statistics about the incoming streams and their dependencies.| Specification | Status | Comment |
|---|---|---|
| WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCRtpReceiver' in that specification. | Working Draft | Initial definition. |
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | 59 | ? | ? | No support | ? |
getContributingSources() method | 59 | ? | ? | No support | ? |
track property | 59 | ? | ? | No support | ? |
| Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|---|
| Basic support | 59 | 59 | ? | ? | ? | No support | ? |
getContributingSources() method | 59 | 59 | ? | ? | ? | No support | ? |
track property | 59 | 59 | ? | ? | ? | No support | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpReceiver