[Bug 26887] Allowing license servers and CDMs to control data persistence and secure release

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

--- Comment #15 from Mark Watson <watsonm@netflix.com> ---
If I understand Jerry's comment correctly, it is problematic for them to
retrieve licenses by sessionId, so they would like to restrict the sessionId
concept to be used only for key release data.

If you want to retrieve license / keys, you use initData and load().

If you want to retrieve secure stop information, you use sessionId and
retrieve().

Because you can't retrieve a session with keys using sessionId then removing
persisted keys needs these new MediaKeys methods.

I think you could almost polyfill the existing spec API on top of this one, by
keeping (in IndexedDB, say) mappings from sessionIds to initData and sessionId
to keyIds. The only difference is that you would need to specify when using the
(old, polyfilled) loadSession() whether you wanted a session for use with
playback or were expecting only key release data, which the application should
know.

Equally, one could polyfill this proposed API on top of the existing one in the
specification, by keeping a mapping from initData to sessionId and from keyIds
to sessionId.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 31 October 2014 15:27:40 UTC