RTCRtpContributingSource.source

The read-only source property of the RTCRtpContributingSource dictionary contains 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
source
59
≤79
59
No
No
12.1
59
59
59
No
12.2
7.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpContributingSource/source