File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 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+
5356spec: ECMASCRIPT; urlPrefix: https://tc39.es/ecma262/
5457 type: dfn; text: the current Realm; url: #current-realm
5558</ pre >
21042107 DOMString scalabilityMode;
21052108 VideoEncoderBitrateMode bitrateMode = "variable";
21062109 LatencyMode latencyMode = "quality";
2110+ DOMString contentHint;
21072111};
21082112</ xmp >
21092113
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+
2239+ NOTE: Any codec-specific encoding options take precedence over
2240+ {{contentHint}}.
2241+ </ dd >
22242242
22252243</ dl >
22262244
You can’t perform that action at this time.
0 commit comments