ffmpeghttp-live-streamingdrmipad-2

Encrypted HLS not playing in iPad 2


I have generated HLS content using ffmpeg. This content is plain (i.e. without encryption). I am doing the segment level encryption i.e. after ffmpeg gives out the *.ts segments then I encrypt them using AES-128, CBC mode. After encrypting the content I edit the media playlist file. Following is the url of the encrypted HLS content I mentioned above.

https://s3-us-west-2.amazonaws.com/hls-content/out_s3.m3u8

This content is not playing on iPad 2. What could be the possible problem with this content.


Solution

  • The problem is in the key file,The key has been specified in hex instead of that now it should be written as ASCII characters.