W3C home > Mailing lists > Public > public-html-media@w3.org > January 2015

[encrypted-media] MediaKeySystemConfiguration returned from MediaKeySystemAccess::getConfiguration() should contain the exact strings from requestMediaKeySystemAccess()

From: ddorwin via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Jan 2015 20:35:43 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-54244605-1421181342-sysbot+gh@w3.org>
ddorwin has just created a new issue for
https://github.com/w3c/encrypted-media:

== MediaKeySystemConfiguration returned from
MediaKeySystemAccess::getConfiguration() should contain the exact
strings from requestMediaKeySystemAccess() ==
The requestMediaKeySystemAccess() algorithms process
MediaKeySystemConfiguration objects to find supported configurations.
The first supported configuration (subset) is saved in the resulting
MediaKeySystemAccess so that it can be returned by getConfiguration().

The saved configuration is currently based on the results of
processing the original configuration, which might imply that the
strings are generated and thus different from the strings passed to
requestMediaKeySystemAccess().

Instead, the strings should be identical to those provided by the
application. (There may be _less_ strings, but any remaining strings
should be the same.) This will allow applications to always compare
the resulting strings to known strings to, for example, select
appropriate logic or content. Otherwise, user agents might normalize
or otherwise change the strings in a way that breaks applications or
requires additional logic.

See https://github.com/w3c/encrypted-media/issues/12
Received on Tuesday, 13 January 2015 20:35:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 January 2015 20:35:44 UTC