# BuyDRM HLS

**URL:** https://community.wowza.com/t/buydrm-hls/41766
**Category:** Wowza Streaming Engine
**Created:** [October 10, 2014, 4:24pm UTC](https://community.wowza.com/t/buydrm-hls/41766 "2014-10-10T16:24:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lionel\_Gattegno2](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionel\_Gattegno2](https://community.wowza.com/u/Lionel_Gattegno2)
#### Post date: [October 10, 2014, 4:24pm UTC](https://community.wowza.com/t/buydrm-hls/41766/1 "2014-10-10T16:24:55Z")

</div>

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 :

```auto
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

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [October 15, 2014, 4:56pm UTC](https://community.wowza.com/t/buydrm-hls/41766/2 "2014-10-15T16:56:33Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Lionel\_Gattegno2](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lionel\_Gattegno2](https://community.wowza.com/u/Lionel_Gattegno2)
#### Post date: [October 15, 2014, 8:53pm UTC](https://community.wowza.com/t/buydrm-hls/41766/3 "2014-10-15T20:53:43Z")

</div>

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
