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.
Properties
audioLevel
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.
rtpTimestamp
Optional- The RTP timestamp of the media played out at the time indicated by
timestamp
. This value is a source-generated time value which can be used to help with sequencing and synchronization. source
Optional- A 32-bit unsigned integer value specifying the CSRC identifier of the contributing source.
timestamp
Optional- A
DOMHighResTimeStamp
indicating the most recent time at which a frame originating from this source was delivered to the receiver'sMediaStreamTrack
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
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCRtpContributingSource | Chrome Full support 59 | Edge Full support ≤79 | Firefox
Full support
59
| IE No support No | Opera No support No | Safari ? | WebView Android Full support 59 | Chrome Android Full support 59 | Firefox Android
Full support
59
| Opera Android No support No | Safari iOS ? | Samsung Internet Android Full support 7.0 |
audioLevel | Chrome No support No | Edge No support No | Firefox
Full support
59
| IE No support No | Opera No support No | Safari ? | WebView Android No support No | Chrome Android No support No | Firefox Android
Full support
59
| Opera Android No support No | Safari iOS ? | Samsung Internet Android No support No |
source | Chrome Full support 59 | Edge Full support ≤79 | Firefox
Full support
59
| IE No support No | Opera No support No | Safari ? | WebView Android Full support 59 | Chrome Android Full support 59 | Firefox Android
Full support
59
| Opera Android No support No | Safari iOS ? | Samsung Internet Android Full support 7.0 |
timestamp | Chrome Full support 59 | Edge Full support ≤79 | Firefox
Full support
59
| IE No support No | Opera No support No | Safari ? | WebView Android Full support 59 | Chrome Android Full support 59 | Firefox Android
Full support
59
| Opera Android No support No | Safari iOS ? | Samsung Internet Android Full support 7.0 |
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.