summaryrefslogtreecommitdiff
path: root/bin/send-gst-rtp-v-a
diff options
context:
space:
mode:
Diffstat (limited to 'bin/send-gst-rtp-v-a')
-rwxr-xr-xbin/send-gst-rtp-v-a12
1 files changed, 6 insertions, 6 deletions
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