From d2a3062303e40d2ca9c2220f6419372c865d737b Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey Methods
dictionary RTCRtpContributingSource {
required DOMHighResTimeStamp timestamp;
required unsigned long source;
- required byte? audioLevel;
+ byte audioLevel;
};
Dictionary RTCRtpContributingSource Members
@@ -6724,15 +6724,15 @@ Dictionary RTCRtpContributingSource Members
synchronization source.
audioLevel
of type byte, required, nullableThe audio level contained in the last RTP packet played from
this source. For CSRCs, audioLevel
must be the level
value defined in [[!RFC6465]] if the RFC 6465 header extension is
- present, otherwise null
. For SSRCs, it must be the
- level value defined in [[!RFC6464]] if the RFC 6464 header
+ present, otherwise this member must be absent. For SSRCs, it must
+ be the level value defined in [[!RFC6464]] if the RFC 6464 header
extension is present, otherwise a browser computed value as if it
- had come from RFC 6464 (never null
).
Both RFCs define the level as an integral value from 0 to 127 representing the audio level in negative decibels relative to the loudest signal that the system could possibly encode. Thus, @@ -6744,21 +6744,21 @@
dictionary RTCRtpSynchronizationSource : RTCRtpContributingSource { - required boolean? voiceActivityFlag; + boolean voiceActivityFlag; };
voiceActivityFlag
of type boolean, required, nullableWhether the last RTP packet played 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", as described in [[!RFC6464]], Section 4,
- voiceActivityFlag
will be null
.
voiceActivityFlag
will be absent.