# How to change hls and dash default become HLS AES

**URL:** <https://community.bitmovin.com/t/how-to-change-hls-and-dash-default-become-hls-aes/1549>\
**Category:** Support\
**Tags:** bitmovin\
**Created:** [December 1, 2022, 12:06pm UTC](https://community.bitmovin.com/t/how-to-change-hls-and-dash-default-become-hls-aes/1549 "2022-12-01T12:06:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev2](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dev2](https://community.bitmovin.com/u/dev2)\
**Post date:** [December 1, 2022, 12:06pm UTC](https://community.bitmovin.com/t/how-to-change-hls-and-dash-default-become-hls-aes/1549/1 "2022-12-01T12:06:12Z")

</div>

hey, wanted to ask how to change hls and dash default become hls aes in php with bitmovin api sdk?

---

<div class="post-metadata">

**Author:** ![callum.amor](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@callum.amor](https://community.bitmovin.com/u/callum.amor)\
**Post date:** [December 13, 2022, 11:51am UTC](https://community.bitmovin.com/t/how-to-change-hls-and-dash-default-become-hls-aes/1549/2 "2022-12-13T11:51:53Z")

</div>

Hi Dev,

Assuming you’re using fMP4s for HLS, you will need to add the following call to your script:

> **[Bitmovin Docs - Encoding API Reference | Encodings](https://bitmovin.com/docs/encoding/api-reference/sections/encodings#/Encoding/PostEncodingEncodingsMuxingsFmp4DrmAesByEncodingIdAndMuxingId)**
>
> Encodings connect the various reusable entities in our API to one specific encoding. It specifies the input, the specific file to encode, how it should be encoded, which DRM system to use, how the muxings should be created and where to write the...

You can simply add this call to your current working script, however we also have an example of adding CENC DRM to encodings below, where you would replace the createDrmConfig with the above call:

> <https://github.com/bitmovin/bitmovin-api-sdk-examples/blob/main/php/src/CencDrmContentProtection.php>

Thanks,

Callum
