|
7 | 7 | <link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
|
8 | 8 | <meta content="Bikeshed version b25686b9f, updated Fri Mar 14 14:15:20 2025 -0700" name="generator">
|
9 | 9 | <link href="https://www.w3.org/TR/webrtc-encoded-transform/" rel="canonical">
|
10 |
| - <meta content="73c546481384b21a72a45d7f829054eace08ea9f" name="revision"> |
| 10 | + <meta content="cf0e77a7e4f372ef8e6e4cb1f1cdfb2d2bcb3d71" name="revision"> |
11 | 11 | <meta content="dark light" name="color-scheme">
|
12 | 12 | <link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
|
13 | 13 | <style>/* Boilerplate: style-autolinks */
|
|
695 | 695 | <div class="head">
|
696 | 696 | <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
|
697 | 697 | <h1 class="p-name no-ref" id="title">WebRTC Encoded Transform</h1>
|
698 |
| - <p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2025-05-15">15 May 2025</time></p> |
| 698 | + <p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2025-05-22">22 May 2025</time></p> |
699 | 699 | <details open>
|
700 | 700 | <summary>More details about this document</summary>
|
701 | 701 | <div data-fill-with="spec-metadata">
|
@@ -1391,6 +1391,20 @@ <h4 class="heading settled" data-level="4.5.1" id="RTCEncodedAudioFrameMetadata-
|
1391 | 1391 | <p> The audio level of this frame. The value is between 0..1 (linear),
|
1392 | 1392 | where 1.0 represents 0 dBov, 0 represents silence, and 0.5 represents
|
1393 | 1393 | approximately 6 dBSPL change in the sound pressure level from 0 dBov. </p>
|
| 1394 | + <p>If the frame comes from a remotely sourced track, this MUST be |
| 1395 | + converted from the level value defined in <a data-link-type="biblio" href="#biblio-rfc6464" title="A Real-time Transport Protocol (RTP) Header Extension for Client-to-Mixer Audio Level Indication">[RFC6464]</a>. If the <a data-link-type="biblio" href="#biblio-rfc6464" title="A Real-time Transport Protocol (RTP) Header Extension for Client-to-Mixer Audio Level Indication">[RFC6464]</a> header extension is not present in the received packets of the frame, |
| 1396 | + this value MUST be absent. |
| 1397 | + This RFC defines the audio level as an integral value from 0 to 127 |
| 1398 | + representing the audio level in negative decibels relative to the |
| 1399 | + loudest signal that the system could possibly encode. Thus, 0 |
| 1400 | + represents the loudest signal the system could possibly encode, |
| 1401 | + and 127 represents silence. To convert these values to the linear |
| 1402 | + 0..1 range, a value of 127 is converted to 0, and all other values |
| 1403 | + are converted using the equation: <code class="math">10^(-rfc_level/20)</code>.</p> |
| 1404 | + <p>If the frame comes from a locally sourced track, the level MUST be |
| 1405 | + taken directly from the source and used as input to generate a value |
| 1406 | + for the <a data-link-type="biblio" href="#biblio-rfc6464" title="A Real-time Transport Protocol (RTP) Header Extension for Client-to-Mixer Audio Level Indication">[RFC6464]</a> header extension, if negotiated.</p> |
| 1407 | + <p></p> |
1394 | 1408 | </dl>
|
1395 | 1409 | <h3 class="heading settled" data-level="4.6" id="RTCEncodedAudioFrame-interface"><span class="secno">4.6. </span><span class="content"><dfn class="dfn-paneled idl-code" data-dfn-type="interface" data-export id="rtcencodedaudioframe"><code>RTCEncodedAudioFrame</code></dfn> interface</span><a class="self-link" href="#RTCEncodedAudioFrame-interface"></a></h3>
|
1396 | 1410 | <pre class="idl highlight def"><c- b>dictionary</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="dictionary" data-export id="dictdef-rtcencodedaudioframeoptions"><code><c- g>RTCEncodedAudioFrameOptions</c-></code></dfn> {
|
@@ -2109,6 +2123,8 @@ <h3 class="no-num no-ref heading settled" id="normative"><span class="content">N
|
2109 | 2123 | <dd>Cullen Jennings; et al. <a href="https://w3c.github.io/mediacapture-main/"><cite>Media Capture and Streams</cite></a>. URL: <a href="https://w3c.github.io/mediacapture-main/">https://w3c.github.io/mediacapture-main/</a>
|
2110 | 2124 | <dt id="biblio-rfc2119">[RFC2119]
|
2111 | 2125 | <dd>S. Bradner. <a href="https://datatracker.ietf.org/doc/html/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <a href="https://datatracker.ietf.org/doc/html/rfc2119">https://datatracker.ietf.org/doc/html/rfc2119</a>
|
| 2126 | + <dt id="biblio-rfc6464">[RFC6464] |
| 2127 | + <dd>J. Lennox, Ed.; E. Ivov; E. Marocco. <a href="https://www.rfc-editor.org/rfc/rfc6464"><cite>A Real-time Transport Protocol (RTP) Header Extension for Client-to-Mixer Audio Level Indication</cite></a>. December 2011. Proposed Standard. URL: <a href="https://www.rfc-editor.org/rfc/rfc6464">https://www.rfc-editor.org/rfc/rfc6464</a> |
2112 | 2128 | <dt id="biblio-rfc8851">[RFC8851]
|
2113 | 2129 | <dd>A.B. Roach, Ed.. <a href="https://www.rfc-editor.org/rfc/rfc8851"><cite>RTP Payload Format Restrictions</cite></a>. January 2021. Proposed Standard. URL: <a href="https://www.rfc-editor.org/rfc/rfc8851">https://www.rfc-editor.org/rfc/rfc8851</a>
|
2114 | 2130 | <dt id="biblio-rtp-ext-capture-time">[RTP-EXT-CAPTURE-TIME]
|
|
0 commit comments