Common Encryption files may contain one or more protection system specific header ('pssh') boxes, each for a unique SystemID at each location where a 'pssh' box is necessary.
Initialization Data is always one or more concatenated 'pssh' boxes. An implementation (the user agent and/or CDM) must be able to examine multiple 'pssh' boxes in the Initialization Data to find a 'pssh' box that it supports. At least one of the concatenated 'pssh' boxes should contain the SystemID defined in the Common SystemID and PSSH Box Format section.
Each time one or more 'pssh' boxes are encountered, the Initialization Data encountered algorithm shall be invoked with initDataType = "cenc" and initData = the 'pssh' box(es). Multiple 'pssh' boxes must be provided together if and only if they appear directly next to each other in the file.
------------------------
The part about "An implementation (the user agent and/or CDM) must be able to examine multiple 'pssh' boxes" implies that this expected to work, but it isn't clear if the fault is with the Widevine CDM, or if the shaka library is supposed to dis-aggregate the two PSSH boxes, and only feed the Widevine box to the widevine CDM (which is the one used in my case).
The two PSSH boxes in my test case look like this:
Hi Gilles,
The library doesn't do anything special in terms of parsing PSSHs. It passes the init data directly from the 'encrypted' event to generateKeyRequest.
Can you please provide a multi-pssh sample that fails?
Thanks,
Joey
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/ad901ff2-d67f-403b-a2fe-92b852398237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
8.1.2 Syntaxaligned(8) class ProtectionSystemSpecificHeaderBox extends FullBox(‘pssh’,version=0, flags=0){unsigned int(8)[16] SystemID;unsigned int(32) DataSize;unsigned int(8)[DataSize] Data;}8.1.3 SemanticsSystemID specifies a UUID that uniquely identifies the content protection system that this header belongs to.DataSize specifies the size in bytes of the Data member.Data holds the content protection system specific data.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/e353731f-54d1-4cda-b453-21f03e44ad80%40googlegroups.com.
On February 13, 2015 at 9:08:10 AM, Andrew Sinclair (ajsin...@gmail.com) wrote:
Hi Gilles,Do you have a sample of using bento to generate a widevine CDM compatible DASH stream?Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/e353731f-54d1-4cda-b453-21f03e44ad80%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-us...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/2178d792-cf46-483c-b35a-d9ea7242bfb0%40googlegroups.com.