From 414d5a435051e65b0bd6420e6fb2c3eae0101417 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 22 May 2017 14:35:46 +0200 Subject: Tidy: Rename internal variable muxing → target. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/stream | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/stream') 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 '|' -- cgit v1.2.3