[encrypted-media] generateRequest() should allow the first message to not be a license request based on initData

ddorwin has just created a new issue for 
https://github.com/w3c/encrypted-media:

= generateRequest() should allow the first message to not be a 
license request based on initData =
The generate license request algorithm was always intended to support 
multiple messages/round trips. This could be part of the protocol or 
for other things, such as to obtain a server certificate when one has 
not been provided otherwise and an `individualization-request` message
 (see issue #19). The algorithm (now `generateRequest()`) has evolved 
to require the first message be a license request generated from the 
initData.

We should change the algorithm to allow such other types of messages 
while still ensuring that a license request is generated (in the 
absence of errors) following the existing algorithm. This probably 
involves breaking that algorithm out and specifying when to call it 
from the `generateRequest()` and `update()` algorithms.

We need to address #19 first so that we can make these changes in a 
way that ensures the correct ordering.

See https://github.com/w3c/encrypted-media/issues/31

Received on Tuesday, 10 February 2015 20:12:07 UTC