Contact emailsv...@microsoft.com, gw...@microsoft.com, gur...@microsoft.com , dalecur...@chromium.org
Explainer https://github.com/w3c/media-capabilities/blob/main/explainer.md#decode-capabilities Specificationhttps://www.w3.org/TR/media-capabilities/#hdrmetadatatype Summary Extends the Media Capabilities API to allow detection of HDR rendering support via three new VideoConfiguration dictionary fields: hdrMetadataType, colorGamut, transferFunction. Chromium implements its own tone-mapping algorithms so will always return true for HDR10 (smpteSt2086) static metadata. HDR10+ (smpteSt2094-10) and Dolby Vision (smpteSt2094-40) dynamic metadata are not currently supported, so will return false. We anticipate adding support for dynamic metadata in the future, so this API will allow developers to select the appropriate content for users with support. Blink componentBlink>Media>Capabilities <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EMedia%3ECapabilities> TAG reviewAlready shipping by another UA. The now-closed Media Capabilities TAG review covered similar discussions: https://github.com/w3ctag/design-reviews/issues/218 TAG review statusNot applicable Risks Interoperability and Compatibility Low interop risk: Already shipping in Safari. *Gecko*: Neutral (https://github.com/mozilla/standards-positions/issues/910) *WebKit*: Shipped/Shipping ( https://www.w3.org/2019/11/19-mediawg-minutes.html) *Web developers*: Positive ( https://github.com/w3c/media-capabilities/issues/118#issuecomment-511461132) *Other signals*: Activation Will start returning false for some DolbyVision and HDR10+ metadata types on the web -- playback would have been broken already for these. WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? No risks unique to WebView. Debuggability Debuggable through media dev tools and chrome://gpu information. Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?Yes Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ?Yes https://wpt.fyi/results/media-capabilities/decodingInfo.any.html?label=experimental&label=master&aligned Flag name on chrome://flags Finch feature nameMediaCapabilitiesDynamicRange Requires code in //chrome?False Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1048045 Estimated milestones Shipping on desktop 120 Shipping on Android 120 Shipping on WebView 120 Anticipated spec changes Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way). Spec changes have already been submitted since the feature is shipping in Safari. Link to entry on the Chrome Platform Status https://chromestatus.com/feature/6640863931269120 Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/jBzVLBz-Yk4/m/ORuQg2zAEwAJ This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPUDrwforrrpNE5RLc_OVa9uwa-63UX03VgijptNU5E8sVcD7g%40mail.gmail.com.