summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/stream b/bin/stream
index 6981a28..44374d6 100755
--- a/bin/stream
+++ b/bin/stream
@@ -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 '|'