|
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/webcodecs/" rel="canonical"> |
10 | | - <meta content="d6685d4745245cf792c9d4c7803b95e4d0a222c1" name="revision"> |
| 10 | + <meta content="70892e0e707636452b701469533d14e5fc5eab12" 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> |
|
719 | 719 | <div class="head"> |
720 | 720 | <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> |
721 | 721 | <h1 class="p-name no-ref" id="title">WebCodecs</h1> |
722 | | - <p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2025-04-17">17 April 2025</time></p> |
| 722 | + <p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2025-05-14">14 May 2025</time></p> |
723 | 723 | <details open> |
724 | 724 | <summary>More details about this document</summary> |
725 | 725 | <div data-fill-with="spec-metadata"> |
@@ -3189,7 +3189,7 @@ <h3 class="heading settled" data-level="7.6" id="video-decoder-config"><span cla |
3189 | 3189 | </ol> |
3190 | 3190 | <dl> |
3191 | 3191 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="VideoDecoderConfig" data-dfn-type="dict-member" data-export id="dom-videodecoderconfig-codec"><code>codec</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString③">DOMString</a></span> |
3192 | | - <dd>Contains a codec string describing the codec. |
| 3192 | + <dd>Contains a <a data-link-type="dfn" href="#codec-string" id="ref-for-codec-string⑥">codec string</a> describing the codec. |
3193 | 3193 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="VideoDecoderConfig" data-dfn-type="dict-member" data-export id="dom-videodecoderconfig-description"><code>description</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#AllowSharedBufferSource" id="ref-for-AllowSharedBufferSource③">AllowSharedBufferSource</a></span> |
3194 | 3194 | <dd> |
3195 | 3195 | A sequence of codec specific bytes, commonly known as extradata. |
@@ -3259,7 +3259,7 @@ <h3 class="heading settled" data-level="7.7" id="audio-encoder-config"><span cla |
3259 | 3259 | </ol> |
3260 | 3260 | <dl> |
3261 | 3261 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="AudioEncoderConfig" data-dfn-type="dict-member" data-export id="dom-audioencoderconfig-codec"><code>codec</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString⑤">DOMString</a></span> |
3262 | | - <dd>Contains a codec string describing the codec. |
| 3262 | + <dd>Contains a <a data-link-type="dfn" href="#codec-string" id="ref-for-codec-string⑦">codec string</a> describing the codec. |
3263 | 3263 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="AudioEncoderConfig" data-dfn-type="dict-member" data-export id="dom-audioencoderconfig-samplerate"><code>sampleRate</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-unsigned-long" id="ref-for-idl-unsigned-long②④">unsigned long</a></span> |
3264 | 3264 | <dd>The number of frame samples per second. |
3265 | 3265 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="AudioEncoderConfig" data-dfn-type="dict-member" data-export id="dom-audioencoderconfig-numberofchannels"><code>numberOfChannels</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-unsigned-long" id="ref-for-idl-unsigned-long②⑤">unsigned long</a></span> |
@@ -3306,7 +3306,7 @@ <h3 class="heading settled" data-level="7.8" id="video-encoder-config"><span cla |
3306 | 3306 | </ol> |
3307 | 3307 | <dl> |
3308 | 3308 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="VideoEncoderConfig" data-dfn-type="dict-member" data-export id="dom-videoencoderconfig-codec"><code>codec</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-DOMString" id="ref-for-idl-DOMString⑨">DOMString</a></span> |
3309 | | - <dd>Contains a <a data-link-type="dfn" href="#codec-string" id="ref-for-codec-string⑥">codec string</a> in <var>config</var>.codec describing the codec. |
| 3309 | + <dd>Contains a <a data-link-type="dfn" href="#codec-string" id="ref-for-codec-string⑧">codec string</a> in <var>config</var>.codec describing the codec. |
3310 | 3310 | <dt><dfn class="dfn-paneled idl-code" data-dfn-for="VideoEncoderConfig" data-dfn-type="dict-member" data-export id="dom-videoencoderconfig-width"><code>width</code></dfn>, <span> of type <a data-link-type="idl-name" href="https://webidl.spec.whatwg.org/#idl-unsigned-long" id="ref-for-idl-unsigned-long③⓪">unsigned long</a></span> |
3311 | 3311 | <dd> |
3312 | 3312 | The encoded width of output <code class="idl"><a data-link-type="idl" href="#encodedvideochunk" id="ref-for-encodedvideochunk①②">EncodedVideoChunk</a></code>s in pixels, prior to any |
@@ -9570,7 +9570,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content |
9570 | 9570 | "codec": {"dfnID":"codec","dfnText":"Codec","external":false,"refSections":[{"refs":[{"id":"ref-for-codec"},{"id":"ref-for-codec\u2460"},{"id":"ref-for-codec\u2461"},{"id":"ref-for-codec\u2462"}],"title":"2.2. Control Messages"},{"refs":[{"id":"ref-for-codec\u2463"},{"id":"ref-for-codec\u2464"},{"id":"ref-for-codec\u2465"}],"title":"2.3. Codec Work Parallel Queue"},{"refs":[{"id":"ref-for-codec\u2466"}],"title":"3.1. Internal Slots"},{"refs":[{"id":"ref-for-codec\u2467"}],"title":"4.1. Internal Slots"},{"refs":[{"id":"ref-for-codec\u2468"}],"title":"5.1. Internal Slots"},{"refs":[{"id":"ref-for-codec\u2460\u24ea"}],"title":"6.1. Internal Slots"},{"refs":[{"id":"ref-for-codec\u2460\u2460"},{"id":"ref-for-codec\u2460\u2461"},{"id":"ref-for-codec\u2460\u2462"},{"id":"ref-for-codec\u2460\u2463"},{"id":"ref-for-codec\u2460\u2464"}],"title":"7.1. Check Configuration Support (with config)"},{"refs":[{"id":"ref-for-codec\u2460\u2465"}],"title":"10.2.1. Internal Slots"}],"url":"#codec"}, |
9571 | 9571 | "codec-implementation": {"dfnID":"codec-implementation","dfnText":"[[codec implementation]]","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-implementation"}],"title":"2.3. Codec Work Parallel Queue"},{"refs":[{"id":"ref-for-codec-implementation\u2460"}],"title":"3.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-implementation\u2461"}],"title":"4.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-implementation\u2462"}],"title":"5.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-implementation\u2463"}],"title":"6.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-implementation\u2464"}],"title":"10.2.1. Internal Slots"}],"url":"#codec-implementation"}, |
9572 | 9572 | "codec-processing-model": {"dfnID":"codec-processing-model","dfnText":"Codec Processing Model","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-processing-model"}],"title":"10.1. Background"}],"url":"#codec-processing-model"}, |
9573 | | -"codec-string": {"dfnID":"codec-string","dfnText":"Codec String","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-string"},{"id":"ref-for-codec-string\u2460"},{"id":"ref-for-codec-string\u2461"},{"id":"ref-for-codec-string\u2462"},{"id":"ref-for-codec-string\u2463"}],"title":"7.1. Check Configuration Support (with config)"},{"refs":[{"id":"ref-for-codec-string\u2464"}],"title":"7.5. AudioDecoderConfig"},{"refs":[{"id":"ref-for-codec-string\u2465"}],"title":"7.8. VideoEncoderConfig"}],"url":"#codec-string"}, |
| 9573 | +"codec-string": {"dfnID":"codec-string","dfnText":"Codec String","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-string"},{"id":"ref-for-codec-string\u2460"},{"id":"ref-for-codec-string\u2461"},{"id":"ref-for-codec-string\u2462"},{"id":"ref-for-codec-string\u2463"}],"title":"7.1. Check Configuration Support (with config)"},{"refs":[{"id":"ref-for-codec-string\u2464"}],"title":"7.5. AudioDecoderConfig"},{"refs":[{"id":"ref-for-codec-string\u2465"}],"title":"7.6. VideoDecoderConfig"},{"refs":[{"id":"ref-for-codec-string\u2466"}],"title":"7.7. AudioEncoderConfig"},{"refs":[{"id":"ref-for-codec-string\u2467"}],"title":"7.8. VideoEncoderConfig"}],"url":"#codec-string"}, |
9574 | 9574 | "codec-task-source": {"dfnID":"codec-task-source","dfnText":"codec task source","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-task-source"}],"title":"2.3. Codec Work Parallel Queue"}],"url":"#codec-task-source"}, |
9575 | 9575 | "codec-work-queue": {"dfnID":"codec-work-queue","dfnText":"[[codec work queue]]","external":false,"refSections":[{"refs":[{"id":"ref-for-codec-work-queue"},{"id":"ref-for-codec-work-queue\u2460"}],"title":"2.3. Codec Work Parallel Queue"},{"refs":[{"id":"ref-for-codec-work-queue\u2461"}],"title":"3.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-work-queue\u2462"}],"title":"4.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-work-queue\u2463"}],"title":"5.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-work-queue\u2464"}],"title":"6.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-work-queue\u2465"}],"title":"10.2.1. Internal Slots"},{"refs":[{"id":"ref-for-codec-work-queue\u2466"}],"title":"11. Resource Reclamation"}],"url":"#codec-work-queue"}, |
9576 | 9576 | "combined-buffer-layout": {"dfnID":"combined-buffer-layout","dfnText":"combined buffer layout","external":false,"refSections":[{"refs":[{"id":"ref-for-combined-buffer-layout"}],"title":"9.4.6. Algorithms"}],"url":"#combined-buffer-layout"}, |
|
0 commit comments