RTCRtpContributingSource

The RTCRtpContributingSource dictionary of the the WebRTC API is used by getContributingSources() to provide information about a given contributing source (CSRC), including the most recent time a packet that the source contributed was played out.

The information provided is based on the last ten seconds of media received.

While the published specification describes this as an interface, it has since been changed to a dictionary in follow-up drafts.

Properties

audioLevel Read only Optional
A double-precision floating-point value between 0 and 1 specifying the audio level contained in the last RTP packet played from this source.
source Read only
A 32-bit unsigned integer value specifying the CSRC identifier of the contributing source.
timestamp Read only
A DOMHighResTimeStamp indicating the most recent time of playout of an RTP packet from the source.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCRtpContributingSource' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 59Edge ? Firefox 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.
IE No support NoOpera 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
timestampChrome Full support 59Edge ? Firefox Full support 59
Notes Disabled
Full support 59
Notes Disabled
Notes Starting in version 60, the timestamp is correctly computed based on the window's Performance time, rather than Date.getTime().
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.
IE No support NoOpera No support NoSafari ? WebView Android Full support 59Chrome Android Full support 59Edge Mobile ? Firefox Android Full support 59
Notes Disabled
Full support 59
Notes Disabled
Notes Starting in version 60, the timestamp is correctly computed based on the window's Performance time, rather than Date.getTime().
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
sourceChrome Full support 59Edge ? Firefox 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.
IE No support NoOpera 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
audioLevelChrome No support NoEdge ? Firefox 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.
IE No support NoOpera 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

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
See implementation notes.
See implementation notes.
User must explicitly enable this feature.
User must explicitly enable this feature.

Document Tags and Contributors

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