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

已提问 1 年前458 查看次数
2 回答
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
已回答 1 年前
  • 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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则