fix variable typos in rtmp scripts

This commit is contained in:
Alfonso Gamboa
2022-06-26 01:34:05 -07:00
parent 7de1b43616
commit 2a0515761f
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ VIDEO_OPTIONS="-c:v copy -coder 1 -pix_fmt yuv420p -g 30 -bf 0"
if [[ "$2" == "no_audio" ]]; then
echo "NO_AUDIO: audio disabled on RTMP Stream."
AUDIO="-an"
AUDIO_OPTIONS="-an"
fi
if [[ "$1" == "youtube" ]]; then

View File

@@ -642,7 +642,7 @@ fi
if ([[ "$RTSP_LOW_RES_ENABLED" == "true" ]] || [[ "$RTSP_HI_RES_ENABLED" == "true" ]]) && [[ "$RTMP_STREAM_ENABLED" == "true" ]] && ([[ "$RTSP_LOW_RES_ENABLE_AUDIO" == "true" ]] || [[ "$RTSP_HI_RES_ENABLE_AUDIO" == "true" ]]); then
if [[ "$RTMP_STREAM_DISABLE_AUDIO" == "true" ]]; then
RMTP_AUDIO="no_audio"
RTMP_AUDIO="no_audio"
fi
echo "delay RTMP server"
#Follow the delay from the RTSP server