summaryrefslogtreecommitdiff
path: root/bin/send-gst-rtp-v-a
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-08 01:15:39 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-08 01:15:39 +0100
commita4e6e5a66487c35089b5d9aa8ebbad749167c549 (patch)
tree5bf280a7cd3264184c1de7fa34e9552723bc3fa5 /bin/send-gst-rtp-v-a
parent5ea45178e395b31daf631455c31581ab85069c3f (diff)
Fix explicitly skip audio devices, and only by default.
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