Skip to content

Commit 137c456

Browse files
Merge pull request #759 from tguilbert-google/content_hint_update_v2
SHA: 26e7922 Reason: push, by Djuffin Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b3283f4 commit 137c456

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

index.html

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
88
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
99
<link href="https://www.w3.org/TR/webcodecs/" rel="canonical">
10-
<meta content="633313b9e25ca1890b9c86804ed2eed2627485a8" name="document-revision">
10+
<meta content="26e792218ffba5af7cce19eb816e3b5de57ec745" name="document-revision">
1111
<style>
1212
main > dl > dd {
1313
margin-bottom: 1em;
@@ -672,7 +672,7 @@
672672
<div class="head">
673673
<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>
674674
<h1 class="p-name no-ref" id="title">WebCodecs</h1>
675-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-02-01">1 February 2024</time></p>
675+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-02-06">6 February 2024</time></p>
676676
<details open>
677677
<summary>More details about this document</summary>
678678
<div data-fill-with="spec-metadata">
@@ -3259,11 +3259,23 @@ <h3 class="heading settled" data-level="7.8" id="video-encoder-config"><span cla
32593259
<dd>
32603260
An encoding <a data-link-type="dfn" href="https://www.w3.org/TR/mst-content-hint/#video-content-hints" id="ref-for-video-content-hints">video content hint</a> as defined by <a data-link-type="biblio" href="#biblio-mst-content-hint" title="MediaStreamTrack Content Hints">[mst-content-hint]</a>.
32613261
<p>The User Agent <em class="rfc2119">MAY</em> use this hint to set
3262-
expectations about incoming <code class="idl"><a data-link-type="idl" href="#videoframe" id="ref-for-videoframe①④">VideoFrame</a></code>s and to improve encoding quality.</p>
3262+
expectations about incoming <code class="idl"><a data-link-type="idl" href="#videoframe" id="ref-for-videoframe①④">VideoFrame</a></code>s and to improve encoding quality.
3263+
If using this hint:</p>
3264+
<ul>
3265+
<li data-md>
3266+
<p>The User Agent <em class="rfc2119">MUST</em> respect other explicitly
3267+
set encoding options when configuring the encoder, whether they are
3268+
codec-specific encoding options or not.</p>
3269+
<li data-md>
3270+
<p>The User Agent <em class="rfc2119">SHOULD</em> make a best-effort
3271+
attempt to use additional configuration options to improve encoding
3272+
quality, according to the goals defined by the corresponding <a data-link-type="dfn" href="https://www.w3.org/TR/mst-content-hint/#video-content-hints" id="ref-for-video-content-hints①">video content hint</a>.</p>
3273+
</ul>
3274+
<p class="note" role="note"><span class="marker">NOTE:</span> Some encoder options are implementation specific, and mappings between <code class="idl"><a data-link-type="idl" href="#dom-videoencoderconfig-contenthint" id="ref-for-dom-videoencoderconfig-contenthint①">contentHint</a></code> and those options cannot be
3275+
prescribed.</p>
32633276
<p>The User Agent <em class="rfc2119">MUST NOT</em> refuse the configuration
32643277
if it doesn’t support this content hint.
32653278
See <code class="idl"><a data-link-type="idl" href="#dom-videoencoder-isconfigsupported" id="ref-for-dom-videoencoder-isconfigsupported②">isConfigSupported()</a></code>.</p>
3266-
<p class="note" role="note"><span class="marker">NOTE:</span> Any codec-specific encoding options take precedence over <code class="idl"><a data-link-type="idl" href="#dom-videoencoderconfig-contenthint" id="ref-for-dom-videoencoderconfig-contenthint①">contentHint</a></code>.</p>
32673279
</dl>
32683280
<h3 class="heading settled" data-level="7.9" id="hardware-acceleration"><span class="secno">7.9. </span><span class="content">Hardware Acceleration</span><a class="self-link" href="#hardware-acceleration"></a></h3>
32693281
<pre class="idl highlight def"><c- b>enum</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="enum" data-export id="enumdef-hardwareacceleration"><code><c- g>HardwareAcceleration</c-></code></dfn> {
@@ -9000,7 +9012,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
90009012
window.dfnpanelData['4d7cdab1'] = {"dfnID": "4d7cdab1", "url": "https://w3c.github.io/mediacapture-record/#dom-bitratemode-variable", "dfnText": "variable", "refSections": [{"refs": [{"id": "ref-for-dom-bitratemode-variable"}], "title": "7.7. AudioEncoderConfig"}], "external": true};
90019013
window.dfnpanelData['16785ec4'] = {"dfnID": "16785ec4", "url": "https://mimesniff.spec.whatwg.org/#mime-type", "dfnText": "mime type", "refSections": [{"refs": [{"id": "ref-for-mime-type"}], "title": "7.4. Codec String"}], "external": true};
90029014
window.dfnpanelData['1b04994c'] = {"dfnID": "1b04994c", "url": "https://mimesniff.spec.whatwg.org/#valid-mime-type", "dfnText": "valid mime type string", "refSections": [{"refs": [{"id": "ref-for-valid-mime-type"}], "title": "10.3. ImageDecoderInit Interface"}], "external": true};
9003-
window.dfnpanelData['6b476808'] = {"dfnID": "6b476808", "url": "https://www.w3.org/TR/mst-content-hint/#video-content-hints", "dfnText": "video content hints", "refSections": [{"refs": [{"id": "ref-for-video-content-hints"}], "title": "7.8. VideoEncoderConfig"}], "external": true};
9015+
window.dfnpanelData['6b476808'] = {"dfnID": "6b476808", "url": "https://www.w3.org/TR/mst-content-hint/#video-content-hints", "dfnText": "video content hints", "refSections": [{"refs": [{"id": "ref-for-video-content-hints"}, {"id": "ref-for-video-content-hints\u2460"}], "title": "7.8. VideoEncoderConfig"}], "external": true};
90049016
window.dfnpanelData['59ed4e57'] = {"dfnID": "59ed4e57", "url": "https://streams.spec.whatwg.org/#readablestream", "dfnText": "ReadableStream", "refSections": [{"refs": [{"id": "ref-for-readablestream"}], "title": "10.2.2. Constructor"}, {"refs": [{"id": "ref-for-readablestream\u2460"}], "title": "10.2.5. Algorithms"}, {"refs": [{"id": "ref-for-readablestream\u2461"}, {"id": "ref-for-readablestream\u2462"}, {"id": "ref-for-readablestream\u2463"}], "title": "10.3. ImageDecoderInit Interface"}, {"refs": [{"id": "ref-for-readablestream\u2464"}], "title": "10.4. ImageDecodeOptions Interface"}, {"refs": [{"id": "ref-for-readablestream\u2465"}], "title": "10.7.2. Attributes"}], "external": true};
90059017
window.dfnpanelData['43d35049'] = {"dfnID": "43d35049", "url": "https://streams.spec.whatwg.org/#read-request-chunk-steps", "dfnText": "chunk steps", "refSections": [{"refs": [{"id": "ref-for-read-request-chunk-steps"}], "title": "10.2.5. Algorithms"}], "external": true};
90069018
window.dfnpanelData['f0e85418'] = {"dfnID": "f0e85418", "url": "https://streams.spec.whatwg.org/#read-request-close-steps", "dfnText": "close steps", "refSections": [{"refs": [{"id": "ref-for-read-request-close-steps"}], "title": "10.2.5. Algorithms"}], "external": true};

0 commit comments

Comments
 (0)