Skip to content

Commit f0781f0

Browse files
committed
Add VideoEncoderConfig.contentHint
1 parent 306e516 commit f0781f0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

index.src.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@
4747
type: dfn; text: current playback position; url: media.html#current-playback-position
4848
type: dfn; text: live; url: infrastructure.html#live
4949

50-
spec: webrtc-svc; urlPrefix: https://w3c.github.io/webrtc-svc/
50+
spec: webrtc-svc; urlPrefix: https://www.w3.org/TR/webrtc-svc/
5151
type: dfn; text: scalability mode identifier; url:#scalabilitymodes*
5252

53+
spec: mst-content-hint; urlPrefix: https://www.w3.org/TR/mst-content-hint/
54+
type: dfn; text: video content hints; url:#video-content-hints
55+
5356
spec: ECMASCRIPT; urlPrefix: https://tc39.es/ecma262/
5457
type: dfn; text: the current Realm; url: #current-realm
5558
</pre>
@@ -2104,6 +2107,7 @@
21042107
DOMString scalabilityMode;
21052108
VideoEncoderBitrateMode bitrateMode = "variable";
21062109
LatencyMode latencyMode = "quality";
2110+
DOMString contentHint;
21072111
};
21082112
</xmp>
21092113

@@ -2221,6 +2225,17 @@
22212225
<dd>
22222226
Configures latency related behaviors for this codec. See {{LatencyMode}}.
22232227
</dd>
2228+
<dt><dfn dict-member for=VideoEncoderConfig>contentHint</dfn></dt>
2229+
<dd>
2230+
An encoding [=video content hint=] as defined by [[mst-content-hint]].
2231+
2232+
The User Agent <em class="rfc2119">MAY</em> use this hint to set
2233+
expectations about incoming {{VideoFrame}}s and to improve encoding quality.
2234+
2235+
The User Agent <em class="rfc2119">MUST NOT</em> refuse the configuration
2236+
if it doesn't support this content hint.
2237+
See {{VideoEncoder/isConfigSupported()}}.
2238+
</dd>
22242239

22252240
</dl>
22262241

0 commit comments

Comments
 (0)