mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
fix variable typos in rtmp scripts
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user