The RTCRtpReceiver interface of the the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
RTCRtpReceiver.track Read only
MediaStreamTrack associated with the current RTCRtpReceiver instance. RTCRtpReceiver.rtcpTransport Read only
RTCDtlsTransport instance over which RTCP is sent and received.RTCRtpReceiver.transport Read only
RTCDtlsTransport instance over which the media for the receiver's track is received.RTCRtpReceiver.getContributingSources()RTCRtpContributingSource instances for each unique CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.RTCRtpReceiver.getParameters() RTCRtpParameters object which contains information about how the RTC data is to be decoded.RTCRtpReceiver.getStats()Promise whose fulfillment handler receives a RTCStatsReport which contains statistics about the incoming streams and their dependencies.RTCRtpReceiver.getSynchronizationSources() RTCRtpSynchronizationSource instance for each unique SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.RTCRtpReceiver.getCapabilities()| Specification | Status | Comment |
|---|---|---|
| WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCRtpReceiver' in that specification. | Candidate Recommendation | Initial definition. |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 59 | ? | Yes | ? | No | ? |
track |
59 | 12 | ? | ? | No | ? |
transport |
59 | 12 | Yes | ? | No | ? |
rtcpTransport |
59 | 12 | Yes | ? | No | ? |
getCapabilities |
59 | 12 | Yes | ? | No | ? |
getParameters |
59 | ? | Yes | ? | No | ? |
getContributingSources |
59 | 12 | 59 | ? | No | ? |
getSynchronizationSources |
No | ? | 59 | ? | No | ? |
getStats |
58 | ? | 55 | No | 45 | ? |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | 59 | 59 | ? | Yes | No | ? | 7.0 |
track |
59 | 59 | ? | ? | No | ? | 7.0 |
transport |
59 | 59 | ? | Yes | No | ? | 7.0 |
rtcpTransport |
59 | 59 | ? | Yes | No | ? | 7.0 |
getCapabilities |
59 | 59 | ? | Yes | No | ? | 7.0 |
getParameters |
59 | 59 | ? | Yes | No | ? | 7.0 |
getContributingSources |
59 | 59 | ? | 59
|
No | ? | 7.0 |
getSynchronizationSources |
No | No | ? | 59
|
No | ? | No |
getStats |
55 | 58 | Yes | 55 | 45 | ? | 7.0 |
© 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