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

[EME] PSA: behavior change - remove() must be explicitly called after load(); "released" key status

From: David Dorwin <ddorwin@google.com>
Date: Fri, 4 Sep 2015 09:33:33 -0700
Message-ID: <CAHD2rsg_Qd3zf3mSvcZA3m3qU6ZGqsKzDqyFc3zGbifhGo-WGA@mail.gmail.com>
To: "public-html-media@w3.org" <public-html-media@w3.org>
There was a change in behavior of persisted sessions that generate release
messages in
https://github.com/w3c/encrypted-media/commit/5c037a22fd08935f3ebe38cf2dc825ed91161eae.
I think this only affects retries where the keys were previously remove()'d
but the release message was not acknowledged.

Previously, load() would determine that the keys had been removed()'d and
re-send the release message. After the above change, which was part of pull
request #54, this message is not automatically sent. The application will
need to call remove() to re-generate this message.

Another change from that pull request is that there is a "released" key
status and keys that are removed are now "known" until their removal is
acknowledged. See
https://github.com/w3c/encrypted-media/commit/3acc89fbe44e35d9f1654a9c74da2abc40a752ba.
Among other things, this means that the keys are known in the load()
scenario above.

https://www.w3.org/wiki/HTML/Media_Task_Force/EME_Use_Cases#Persisted_License_.2F_Offline
needs to be updated to reflect this change in behavior.
Received on Friday, 4 September 2015 16:34:21 UTC

This archive was generated by hypermail 2.3.1 : Friday, 4 September 2015 16:34:22 UTC