Tuesday, September 9, 2014

HLS encryption in the rtmp module v1.1.5

The nginx-rtmp-module version 1.1.5 supports HLS encryption using AES-128 method. HLS fragments are encrypted so that they could be opened only with someone having HLS key files. The key files are auto-generated by the module and stored in a location specified in nginx.conf. They are supposed to be served securely using the https protocol only to authorised clients. To make this simpler those files can be stored in a location different from the default HLS location. It's possible to set how many HLS fragments are encrypted with a single key file.

Hi, i am trying to send an encrypted HLS stream using above mentioned configuration. But when i capture stream (in wireshark), its plain http. Also the contents of m3u8 file are visible. The ngnix log is not showing any error regarding this. Can you give some clue?