diff options
Diffstat (limited to 'bin/stream')
-rwxr-xr-x | bin/stream | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,7 +102,7 @@ fi [ -z "$XINPUT" ] || [ $XINPUT -eq 1 ] || exit1 "Too many arguments: Max. 1 multimedia source" [ -n "${NOAUDIO:-}" ] || [ -z "$AINPUT$XINPUT" ] || HASAUDIO=1 [ -n "${NOVIDEO:-}" ] || [ -z "$VINPUT$XINPUT" ] || HASVIDEO=1 -[ "$AINPUT$VINPUT$XINPUT" = "1" ] || TWOSOURCES=1 +[ -z "${HASAUDIO:-}" ] || [ -z "${HASVIDEO:-}" ] || HASMULTIMEDIA=1 VSTREAMINDEX=1 [ -n "$AINPUT" ] || VSTREAMINDEX=0 @@ -266,7 +266,7 @@ ffmpeg -hide_banner -threads auto \ $(encode_vp8 "$VBITRATE" "$SPEED_VP8") } \ -f tee \ "${HASAUDIO:+\ - $(tee_rtp a 111 "$FIRSTPORT")|\ + $(tee_rtp a 111 "$FIRSTPORT")${HASMULTIMEDIA:+|}\ }${HASVIDEO:+\ $(tee_rtp v 100 $((FIRSTPORT+2)))}" } \ ${HEIGHTS_MPEG:+\ |