DRM Encryption and decryption from mp4 to HLS using AWS Elemental MediaConvert

I am using AWS Elemental MediaConvert to convert mp4 to hls it works fine.
now i tried to implement encryption and decryption when conversion hls.
I created job like below

enter image description here

encryption done successfully.
but when I tried to play video using video.js

enter image description here

json file for encryption

            "Encryption": {
          "EncryptionMethod": "AES128",
          "InitializationVectorInManifest": "INCLUDE",
          "StaticKeyProvider": {
            "StaticKeyValue": "00112233445566778899AABBCCDDEEFF",
            "Url": "enc.key"
          },
          "Type": "STATIC_KEY"
        }

I am getting issues ts file not loading and unable to play video

any steps which i missed from above

Leave a Comment