Skip to content

Commit

Permalink
Correcting a live stream check. See HLS-6
Browse files Browse the repository at this point in the history
  • Loading branch information
bentasker committed Jun 12, 2015
1 parent a9dec3d commit e7ffea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HLS-Stream-Creator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ then

echo "Generating HLS segments for bitrate ${br}k - this may take some time"

if [ "$NO_FORK" == "0" ] && [ ! "$LIVE_STREAM" == "1" ]
if [ "$NO_FORK" == "0" ] || [ "$LIVE_STREAM" == "1" ]
then
# Processing Starts
createStream "$PLAYLIST_NAME" "$OUT_NAME" "$BITRATE" &
Expand All @@ -306,7 +306,7 @@ then

done

if [ "$NO_FORK" == "0" ] && [ ! "$LIVE_STREAM" == "1" ]
if [ "$NO_FORK" == "0" ] || [ "$LIVE_STREAM" == "1" ]
then
# Monitor the background tasks for completion
echo "All transcoding processes started, awaiting completion"
Expand Down

0 comments on commit e7ffea7

Please sign in to comment.