BuyDRM HLS

Hi all,

I’m using Wowza Streaming Engine 4.1 with DRM AddOn for BuyDRM.

I have a multibitrate VOD stream (smil file), my problem is when streaming using HLS, it seems that my player is waiting for wowza to encrypt EACH chunck for EACH bitrate before receiving some data from wowza!!!

I have dozens of logs like this during encryption :

2014-10-10      17:06:35        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.313  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:35        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.381  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:35        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.45   -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:35        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.519  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:36        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.588  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:36        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.656  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:36        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.726  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2014-10-10      17:06:36        CEST    comment server  INFO    200     -       {BuyDRMHTTPCupertinoStreamingPlayReadyCreateVOD: vhost:"_defaultVHost_", application:"jook/_definst_", stream:"smil/v2/n8W2FkKg.smil", sessionId:1175444310, keyId:"D10064FF-D56E-C672-75DA-16F3F4B0C945", contentId:"d10064ff-d56e-c672-75da-16f3f4b0c945", mediaId:"n8W2FkKg"}      -       -       -       37.796  -       -       -       -       -       -       -       -       -    --       -       -       -       -       -       -       -       -       -       -       -       -       -       -

Note that there is no problem when using SMOOTH STREAMING.

Is there any setting to update to avoid this behavior?

Thanks

Liilo

Hi,

I think you’re better raising this with support. Please send and email to support@wowza.com and include the following,

[wowza-install-path]/conf

[wowza-install-path]/logs

[wowza-install-path]/manager

and please describe exactly the steps you’ve taken so far and any custom modules or additional properties you may have added.

Kind regards,

Paul

Thanks Paul,

I finally found my problem today.

I was using a custom IBuyDRMStreamNameToKeyInfo class to get content key from our backend, and I was not caching the web service result, so the WS was called for each chunck, I just added a simple hashmap to store keys and everything is working great now.

I wonder though if it is normal that the key/name mapper is called for every chunck…

Liilo