Web/API/RTCRtpContributingSource/source

From Get docs


The read-only source property of the RTCRtpContributingSource interface returns the source identifier of a particular stream of RTP packets. The value is the contributing source (CSRC) or synchronization source (SSRC) identifier, depending on whether the object is an RTCRtpContributingSource or RTCRtpSynchronizationSource, which is based on the former.

Syntax

var sourceID = RTCRtpContributingSource.source

Value

An unsigned, 32-bit integer value which uniquely identifies the source of RTP packets described by this RTCRtpContributingSource (in which case the value is a CSRC identifier) or RTCRtpSynchronizationSource (the value is an SSRC identifier).

Specifications

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

Browser Compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
source Chrome

Full support 59

Edge

Full support ≤79

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 No

Opera

No support No

Safari

?

WebView Android

Full support 59

Chrome Android

Full support 59

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 No

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.