diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-22 14:35:46 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-22 14:35:46 +0200 |
commit | 414d5a435051e65b0bd6420e6fb2c3eae0101417 (patch) | |
tree | 84bc385a25e5222de36f66dc4df10cb0785aa2a7 | |
parent | c56868be49dc64d215cee8f01825b8dddd7108b6 (diff) |
Tidy: Rename internal variable muxing → target.
-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 '|' |