Merge pull request #7 from kavuri/master
Merge pull request #7 from kavuri/master

Added AES-128 encryption to the generated files

--- a/HLS-Stream-Creator.sh
+++ b/HLS-Stream-Creator.sh
@@ -411,7 +411,7 @@
   createStream "$PLAYLIST_NAME" "$OUT_NAME" "$BITRATE" "$INPUTFILE"
 
 
-  if [ "$ENCRYPT" == "1" ]
+  if [ "$ENCRYPT" == "1" ] && [ "$LIVE_STREAM" == "0" ]
   then
     encrypt
   fi