Playing encrypted video

后端 未结 6 971
小蘑菇
小蘑菇 2020-12-23 18:20

What I want to do is next: We need to protect the video content(encrypt it) and be able to play it.

Tricky part is that we do not want to load everything into memory

6条回答
  •  Happy的楠姐
    2020-12-23 18:27

    The best choice for this today is:

    1. Use S3, CloudFront, MediaConvert
    2. Convert MP4 into AES-128 bit encrypted HLS stream (using MediaConvert) using an encryption key (customer-managed is easier)
    3. Stream it on your website using VideoJS or other video player that supports playing encrypted HLS streams

    If you have WordPress, you could also use a commercial plugin that creates and plays encrypted videos.

提交回复
热议问题