The RTCRtpReceiver interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
Properties
RTCRtpReceiver.trackRead only- Returns the
MediaStreamTrackassociated with the currentRTCRtpReceiverinstance. RTCRtpReceiver.transportRead only- Returns the
RTCDtlsTransportinstance over which the media for the receiver's track is received.
Obsolete properties
rtcpTransport'- This property has been removed; the RTP and RTCP transports have been combined into a single transport. Use the
transportproperty instead.
Methods
RTCRtpReceiver.getContributingSources()- Returns an array of
RTCRtpContributingSourceinstances for each unique CSRC (contributing source) identifier received by the currentRTCRtpReceiverin the last ten seconds. RTCRtpReceiver.getParameters()- Returns an
RTCRtpParametersobject which contains information about how the RTC data is to be decoded. RTCRtpReceiver.getStats()- Returns a
Promisewhose fulfillment handler receives aRTCStatsReportwhich contains statistics about the incoming streams and their dependencies. RTCRtpReceiver.getSynchronizationSources()- Returns an array including one
RTCRtpSynchronizationSourceinstance for each unique SSRC (synchronization source) identifier received by the currentRTCRtpReceiverin the last ten seconds.
Static methods
RTCRtpReceiver.getCapabilities()- Returns the most optimistic view of the capabilities of the system for receiving media of the given kind.
Specifications
| Specification | Status | Comment |
| WebRTC 1.0: Real-time Communication Between BrowsersThe definition of 'RTCRtpReceiver' in that specification. | Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCRtpReceiver
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
Full support Yes |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 7.0 |
getCapabilities
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
? |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
getContributingSources
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support 59 |
IE
No support No |
Opera
Full support 46 |
Safari
? |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android Full support 59 Full support 59 Disabled' From version 59: this feature is behind the |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
getParameters
|
Chrome
Full support 59 |
Edge
Full support ≤79 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
Full support Yes |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 7.0 |
getStats
|
Chrome
Full support 67 |
Edge
Full support ≤18 |
Firefox
Full support 55 |
IE
No support No |
Opera
Full support 54 |
Safari
? |
WebView Android
Full support 67 |
Chrome Android
Full support 67 |
Firefox Android
Full support 55 |
Opera Android
Full support 48 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
getSynchronizationSources
|
Chrome
Full support 73 |
Edge
Full support ≤79 |
Firefox
Full support 59 |
IE
No support No |
Opera
Full support 60 |
Safari
? |
WebView Android
Full support 73 |
Chrome Android
Full support 73 |
Firefox Android Full support 59 Full support 59 Disabled' From version 59: this feature is behind the |
Opera Android
Full support 52 |
Safari iOS
? |
Samsung Internet Android
Full support 11.0 |
rtcpTransport
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
? |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
track
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
Full support Yes |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support 7.0 |
transport
|
Chrome
Full support 59 |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
No support No |
Opera
Full support 46 |
Safari
? |
WebView Android
Full support 59 |
Chrome Android
Full support 59 |
Firefox Android
Full support Yes |
Opera Android
Full support 43 |
Safari iOS
? |
Samsung Internet Android
Full support 7.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- User must explicitly enable this feature.'
- User must explicitly enable this feature.
See also
RTCRtpReceiver by Mozilla Contributors is licensed under CC-BY-SA 2.5.