From 1d52c00b190ffca9b5106b08781f48a672483a11 Mon Sep 17 00:00:00 2001 From: Chris Needham Date: Thu, 18 Jul 2024 11:57:18 +0100 Subject: [PATCH] Update introduction section This removes mention of Media Playback Quality, which isn't in scope, display capability detection which is solved elsewhere, and the comparison with isTypeSupported() and canPlayType(). It also makes a few other minor editorial improvements. --- index.bs | 81 ++++++++++++++++++++------------------------------------ 1 file changed, 28 insertions(+), 53 deletions(-) diff --git a/index.bs b/index.bs index a1ac372..5af5c60 100644 --- a/index.bs +++ b/index.bs @@ -103,43 +103,18 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte This section is non-normative

- This specification relies on exposing the following sets of properties: -

+ This specification defines an API to query the user agent with regards + to its audio and video decoding and encoding capabilities, + based on information such as the codecs, profile, resolution, bitrates, + etc., of the media. The API indicates if the configuration is supported + and whether the playback is expected to be smooth and/or power efficient. +

+

+ This specification focuses on encoding and decoding capabilities. + It is expected to be used with other web APIs that provide information about + the display properties, such as supported color gamut or dynamic range capabilities, + which enable web applications to pick the right content for the display and to, + for example, avoid providing HDR content to an SDR display.

@@ -174,7 +149,7 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte

The input to the decoding capabilities is represented by a - {{MediaDecodingConfiguration}} dictionary and the input of the encoding + {{MediaDecodingConfiguration}} dictionary and the input to the encoding capabilities by a {{MediaEncodingConfiguration}} dictionary.

@@ -241,7 +216,7 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte A {{MediaDecodingConfiguration}} has three types: