Skip to content

Commit 0795078

Browse files
Drop AudioEncoderConfig.contentHint
1 parent 68d3ff6 commit 0795078

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

index.src.html

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252

5353
spec: mst-content-hint; urlPrefix: https://www.w3.org/TR/mst-content-hint/
5454
type: dfn; text: video content hints; url:#video-content-hints
55-
type: dfn; text: audio content hints; url:#audio-content-hints
5655

5756
spec: ECMASCRIPT; urlPrefix: https://tc39.es/ecma262/
5857
type: dfn; text: the current Realm; url: #current-realm
@@ -2052,7 +2051,6 @@
20522051
[EnforceRange] unsigned long numberOfChannels;
20532052
[EnforceRange] unsigned long long bitrate;
20542053
BitrateMode bitrateMode = "variable";
2055-
DOMString contentHint;
20562054
};
20572055
</xmp>
20582056

@@ -2092,29 +2090,6 @@
20922090
encouraged to check by calling {{AudioEncoder/isConfigSupported()}} with
20932091
|config|.
20942092
</dd>
2095-
<dt><dfn dict-member for=AudioEncoderConfig>contentHint</dfn></dt>
2096-
<dd>
2097-
An encoding [=audio content hint=] as defined by [[mst-content-hint]].
2098-
2099-
The User Agent <em class="rfc2119">MAY</em> use this hint to set
2100-
expectations about incoming {{AudioData}} and to improve encoding quality.
2101-
If using this hint:
2102-
- The User Agent <em class="rfc2119">MUST</em> respect other explicitly
2103-
set encoding options when configuring the encoder, whether they are
2104-
codec-specific encoding options or not.
2105-
- The User Agent <em class="rfc2119">SHOULD</em> make a best-effort
2106-
attempt to use additional configuration options to improve encoding
2107-
quality, according to the goals defined by the corresponding
2108-
[=audio content hint=].
2109-
2110-
NOTE: Some encoder options are implementation specific, and mappings between
2111-
{{AudioEncoderConfig/contentHint}} and those options cannot be
2112-
prescribed.
2113-
2114-
The User Agent <em class="rfc2119">MUST NOT</em> refuse the configuration
2115-
if it doesn't support this content hint.
2116-
See {{AudioEncoder/isConfigSupported()}}.
2117-
</dd>
21182093
</dl>
21192094

21202095

0 commit comments

Comments
 (0)