[Bug 16547] Is there a use case for explicitly releasing keys?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16547

--- Comment #2 from David Dorwin <ddorwin@google.com> 2012-06-11 21:37:37 UTC ---
The draft says keys should be cleared (not available for future frames) on load
[1], but it doesn't specifically say to destroy them. That seems like a good
update. We should also document that they should be destroyed when the object
is destroyed.

load should be called when .src is changed, so setting .src="" is one way to
force _all_ keys to be destroyed (with the update above) without destroying the
element.

However, this only applies to releasing keys when playback is
interrupted/stopped.
Q: Is there a need to release key(s) without changing the source or
interrupting playback?

[1]
http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#algorithms-load

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 11 June 2012 21:37:40 UTC