W3cubDocs

/DOM

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

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 59 ? 59
Disabled
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.
No No ?
timestamp 59 ? 59
Disabled
59
Disabled
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.
No No ?
source 59 ? 59
Disabled
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.
No No ?
audioLevel No ? 59
Disabled
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.
No No ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 59 59 ? 59
Disabled
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.
No ? 7.0
timestamp 59 59 ? 59
Disabled
59
Disabled
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.
No ? 7.0
source 59 59 ? 59
Disabled
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.
No ? 7.0
audioLevel No No ? 59
Disabled
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.
No ? No

© 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/RTCRtpContributingSource