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-a1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-gst-rtp-v-a b/bin/send-gst-rtp-v-a
index 88b02e0..912100a 100755
--- a/bin/send-gst-rtp-v-a
+++ b/bin/send-gst-rtp-v-a
@@ -7,6 +7,7 @@ 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
set -u