summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-22 14:35:46 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-22 14:35:46 +0200
commit414d5a435051e65b0bd6420e6fb2c3eae0101417 (patch)
tree84bc385a25e5222de36f66dc4df10cb0785aa2a7
parentc56868be49dc64d215cee8f01825b8dddd7108b6 (diff)
Tidy: Rename internal variable muxing → target.
-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 '|'