← Back to release summary

VideoEncoderConfig.contentHint

Category
Multimedia
Type
Chromium catches up
Status
In development (Chrome In development)
Intent stage
None

WPT details: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/webcodecs/video-encoder-content-hint.https.any.js

Summary

Adding a contentHint field to VideoEncoderConfig Content hint takes values that are already used for MediaStreamTrack: "motion", "text", "detail". This gives web developers a way to communicate to VideoEncoder the expected type video frames they intend to encode. Explainer: https://gist.github.com/Djuffin/c3742404b7c53ada227849c8b2b76b4c

Standards & signals

Ecosystem

Docs: https://gist.github.com/Djuffin/c3742404b7c53ada227849c8b2b76b4c https://github.com/w3ctag/design-reviews/issues/912

View on chromestatus.com