Generating AES-128 Encrypted HLS using AWS elemental MediaLive HLS output

0

Hello, We used AWS elemental MediaLive service to generate clear HLS content and we could play clear HLS output using VLC. We tried to create AES-128 encrypted HLS output using MediaLive service, static keys is used for encryption. The input to media live is RTMP push. My question is : under MediaLive Channels -> Output groups -> settings -> HLS outputs -> DRM -> "key provider setting" field, can we leave it blank? or what should be the value for this field? It will be great if we can know different field values under DRM section. We have selected encryption type as AES-128 and static keys are entered manually (which we generated using some tool).

Also, for encrypted HLS output, index.m3u8 should have some entry like #EXT-X-KEY:METHOD=AES-128,URI="my.key" I do not see any entry for key in the manifest file. What could be the reason?

Thanks, Namita

asked a year ago443 views
2 Answers
0

Hi Namita,

To use static key encryption in MediaLive, it's necessary to specify the "Key Provider Settings" as "Static key" as you mention. Under "Key Provider Server" specify "Input location" and place URL where the player can retrieve the key in the URL field.

Regards, Steve

AWS
Steve_W
answered a year ago
  • Thank you so much for the answer. My understanding is key should be a part of manifest file. So do you mean url should have the manifest file "index.m3u8" path?

0

The URL specified in the Key provider server will need to be the place from where the player can download the actual AES128 key, so that the video can be decrypted.

AWS
Steve_W
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions