File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -708,6 +708,21 @@ dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
708
708
The audio level of this frame. The value is between 0..1 (linear),
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
+
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.
718
+ This RFC defines the audio level as an integral value from 0 to 127
719
+ representing the audio level in negative decibels relative to the
720
+ loudest signal that the system could possibly encode. Thus, 0
721
+ represents the loudest signal the system could possibly encode,
722
+ and 127 represents silence. To convert these values to the linear
723
+ 0..1 range, a value of 127 is converted to 0, and all other values
724
+ are converted using the equation:
725
+ <code class="math"> 10^(-rfc_level/20)</code> .
711
726
</p>
712
727
</dd>
713
728
</dl>
You can’t perform that action at this time.
0 commit comments