From ef7da444d567d8dd7e562d0959f07b357ed23bf5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 10 Mar 2017 15:06:29 +0100 Subject: Fix argument numbering. --- bin/send-gst-rtp-v-a | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/send-gst-rtp-v-a b/bin/send-gst-rtp-v-a index cc30c0e..d068068 100755 --- a/bin/send-gst-rtp-v-a +++ b/bin/send-gst-rtp-v-a @@ -4,12 +4,12 @@ set -e RECIP=${RECIP:-$1} # destination host - default: use multicast group -VDEVICES=${1:-$(find /dev -maxdepth 1 -type c -name 'video*' | sort)} -#ADEVICES=${2:-$(arecord -L | grep -Po '^hw:\S+')} -#ADEVICES=${2:-$(arecord -L | grep -Pom1 '^hw:\S+')} -ADEVICES=${2:-} # FIXME: Detect/blacklist and skip faulty devices -VFORMAT=${VFORMAT:-$3} # H264 VP8 RAW - default: RAW -AFORMAT=${AFORMAT:-$4} # AMR OPUS RAW - default: RAW +VDEVICES=${2:-$(find /dev -maxdepth 1 -type c -name 'video*' | sort)} +#ADEVICES=${3:-$(arecord -L | grep -Po '^hw:\S+')} +#ADEVICES=${3:-$(arecord -L | grep -Pom1 '^hw:\S+')} +ADEVICES=${3:-} # FIXME: Detect/blacklist and skip faulty devices +VFORMAT=${VFORMAT:-$4} # H264 VP8 RAW - default: RAW +AFORMAT=${AFORMAT:-$5} # AMR OPUS RAW - default: RAW set -u # set multicast groups (also for recorder host) if camera host is wildcard -- cgit v1.2.3