diff options
-rwxr-xr-x | bin/stream | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -248,11 +248,11 @@ mux() { targets="$1"; esac else echo_n "-f tee " - for muxing in $targets; do - case "$muxing" in + for target in $targets; do + case "$target" in rtp_opus) echo_n "[select=\'a\':f=rtp:payload_type=111]rtp://$IP:$FIRSTPORT?pkt_size=1440";; rtp_vp8) echo_n "[select=\'v\':f=rtp:payload_type=100]rtp://$IP:$((FIRSTPORT+2))?pkt_size=1440";; - *) exit1 "Unknown target $muxing";; + *) exit1 "Unknown target $target";; esac targetcount=$((targetcount-1)) [ $targetcount -lt 1 ] || echo_n '|' |