RTCRtpReceiver

The RTCRtpReceiver interface of the the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.

Properties

RTCRtpReceiver.track Read only
Returns the MediaStreamTrack associated with the current RTCRtpReceiver instance. 
RTCRtpReceiver.rtcpTransport Read only
Returns the RTCDtlsTransport instance over which RTCP is sent and received.
RTCRtpReceiver.transport Read only
Returns the RTCDtlsTransport instance over which the media for the receiver's track is received.

Methods

RTCRtpReceiver.getContributingSources()
Returns an array of RTCRtpContributingSource instances for each unique CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.
RTCRtpReceiver.getParameters() 
Returns an RTCRtpParameters object which contains information about how the RTC data is to be decoded.
RTCRtpReceiver.getStats()
Returns a Promise whose fulfillment handler receives a RTCStatsReport which contains statistics about the incoming streams and their dependencies.
RTCRtpReceiver.getSynchronizationSources() 
Returns an array including one RTCRtpSynchronizationSource instance for each unique SSRC (synchronization source) identifier received by the current RTCRtpReceiver in 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 Browsers
The definition of 'RTCRtpReceiver' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 59Edge ? Firefox Full support YesIE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
trackChrome Full support 59Edge Full support 12Firefox ? IE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android ? Opera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
transportChrome Full support 59Edge Full support 12Firefox Full support YesIE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
rtcpTransportChrome Full support 59Edge Full support 12Firefox Full support YesIE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
getCapabilitiesChrome Full support 59Edge Full support 12Firefox Full support YesIE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
getParametersChrome Full support 59Edge ? Firefox Full support YesIE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support YesOpera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
getContributingSourcesChrome Full support 59Edge Full support 12Firefox Full support 59IE ? Opera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support 59
Disabled
Full support 59
Disabled
Disabled From version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android No support NoSafari iOS ? Samsung Internet Android Full support 7.0
getSynchronizationSourcesChrome No support NoEdge ? Firefox Full support 59IE ? Opera No support NoSafari ? WebView Android No support NoChrome Android No support NoEdge Mobile ? Firefox Android Full support 59
Disabled
Full support 59
Disabled
Disabled From version 59: this feature is behind the media.peerconnection.rtpsourcesapi.enable preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
getStatsChrome Full support 58Edge ? Firefox Full support 55IE No support NoOpera Full support 45Safari ? WebView Android Full support 55Chrome Android Full support 58Edge Mobile Full support YesFirefox Android Full support 55Opera Android Full support 45Safari 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

Document Tags and Contributors

Contributors to this page: Sheppy, fscholz, jpmedley
Last updated by: Sheppy,