Wowza Community

PlayReady encryption not working with Shaka player

Encrypting with PlayReady makes Shaka player gives the folowing error:

shaka.util.Error {  "category": 3,  "code": 3016,  "data": [    5,    "8004110e"  ] }

Shaka documentation says it’s VIDEO_ERROR. Some more investigation took me to think it’s about the key is not valid. I’m using the same key as Widevine and Widevine play works good.

I’m using onHTTPMPEGDashEncryptionKeyVODChunk function, but with the key file the error is the same.

I also tried other players and the video in PlayReady also don’t work.

Can someone help me?

Some links:

I found that in the manifest of the video served with Wowza the tag don’t have a reference to the KID (and have instead a cenc:pssh tag inside):

<ContentProtection schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95" value="Microsoft PlayReady">

And in a manifest of a video that works it has that reference to the KID (and don’t have a cenc:pssh tag inside):

<ContentProtection schemeIdUri="urn:uuid:9A04F079-9840-4286-AB92-E65BE0885F95" value="2.0" cenc:default_KID="A9F77731-42E0-445B-9695-27B504EDFC7B">

Does it has something related to this?

Can someone help me?