W3cubDocs

/DOM

RTCRtpSynchronizationSource

The RTCRtpSynchronizationSource dictionary of the the WebRTC API is used by getSynchronizationSources() to describe a particular synchronization source (SSRC). A synchronization source is a single source that shares timing and sequence number space. Since RTCRtpSynchronizationSource implements RTCRtpContributingSource, its properties are also available.

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

Also implements the properties of RTCRtpContributingSource.

voiceActivityFlag Optional
A Boolean value indicating whether or not voice activity is included in the last RTP packet played from the source. If the peer has indicated that it's not supporting voice activity detection, this field is not provided.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 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 ?
voiceActivityFlag 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 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
voiceActivityFlag 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/RTCRtpSynchronizationSource