- java.lang.Object
-
- dev.onvoid.webrtc.RTCRtpContributingSource
-
- dev.onvoid.webrtc.RTCRtpSynchronizationSource
-
public class RTCRtpSynchronizationSource extends RTCRtpContributingSource
Contains information about a given synchronization source (SSRC).- Author:
- Alex Andres
-
-
Field Summary
Fields Modifier and Type Field Description booleanvoiceActivityFlagOnly present for audio receivers.-
Fields inherited from class dev.onvoid.webrtc.RTCRtpContributingSource
audioLevel, rtpTimestamp, source, timestamp
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRTCRtpSynchronizationSource(long timestamp, long source, double audioLevel, long rtpTimestamp, boolean voiceActivityFlag)Creates an instance of RTCRtpSynchronizationSource with the specified synchronization source information.
-
-
-
Field Detail
-
voiceActivityFlag
public final boolean voiceActivityFlag
Only present for audio receivers. Whether the last RTP packet, delivered from this source, contains voice activity (true) or not (false). If the RFC 6464 extension header was not present, or if the peer has signaled that it is not using the V bit by setting the "vad" extension attribute to "off".
-
-
Constructor Detail
-
RTCRtpSynchronizationSource
protected RTCRtpSynchronizationSource(long timestamp, long source, double audioLevel, long rtpTimestamp, boolean voiceActivityFlag)Creates an instance of RTCRtpSynchronizationSource with the specified synchronization source information.- Parameters:
timestamp- The most recent time a frame from an RTP packet.source- The CSRC or SSRC identifier of the contributing or synchronization source.audioLevel- The sound pressure level. Only present for audio receivers.rtpTimestamp- The last RTP timestamp.voiceActivityFlag- Whether the last RTP packet contains voice activity (true) or not (false).
-
-