[Bug 17470] Provide specific guidance on when generateKeyRequest should be called

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

--- Comment #8 from Joe Steele <steele@adobe.com> 2012-09-05 21:55:24 UTC ---
(In reply to comment #7)
> Why wouldn't you know the media type? The media type is probably going to
> influence the format of the initData.

But in this case we are prepping the CDM prior to seeing any content. In most
cases the mime-type of the content will be known, but I can imagine cases where
it is not or can vary between multiple types. 

There is no reason why the initData will be anything like what is embedded in a
content stream, since it is not associated with a content stream. It could be a
completely different format. The goal here is to pass a bundle of opaque data
from the app to the CDM in order to initialize it prior to seeing any content.

-- 
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 Wednesday, 5 September 2012 21:55:27 UTC