@@ -709,12 +709,10 @@ dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
709
709
where 1.0 represents 0 dBov, 0 represents silence, and 0.5 represents
710
710
approximately 6 dBSPL change in the sound pressure level from 0 dBov.
711
711
712
- If the frame comes from a locally sourced track, the level MUST be
713
- taken directly from the source.
714
-
715
- For remotely sourced tracks, this MUST be converted from the level
716
- value defined in [[!RFC6464]] . If the RFC 6464 header extension is
717
- not present in the received packets, this value SHOULD be absent.
712
+ If the frame comes from a remotely sourced track, this MUST be
713
+ converted from the level value defined in [[!RFC6464]] . If the
714
+ RFC 6464 header extension is not present in the received packets,
715
+ this value SHOULD be absent.
718
716
This RFC defines the audio level as an integral value from 0 to 127
719
717
representing the audio level in negative decibels relative to the
720
718
loudest signal that the system could possibly encode. Thus, 0
@@ -723,6 +721,10 @@ dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
723
721
0..1 range, a value of 127 is converted to 0, and all other values
724
722
are converted using the equation:
725
723
<code class="math"> 10^(-rfc_level/20)</code> .
724
+
725
+ If the frame comes from a locally sourced track, the level MUST be
726
+ taken directly from the source and used as input to generate a value
727
+ for the RFC 6464 header extension, if negotiated.
726
728
</p>
727
729
</dd>
728
730
</dl>
0 commit comments