summaryrefslogtreecommitdiff
path: root/roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j2')
-rw-r--r--roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j214
1 files changed, 0 insertions, 14 deletions
diff --git a/roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j2 b/roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j2
deleted file mode 100644
index c9a89f95..00000000
--- a/roles/elevate/dolmetsch-raspi/templates/rtp-recv.sh.j2
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-HOST="$1"
-if [ -z "$HOST" ]; then
- echo "usage: $0 <remote-host>"
- exit 1
-fi
-
-#export GST_DEBUG=3
-exec gst-launch-1.0 rtpbin name=rtpbin latency=50 \
- udpsrc port=5000 caps="application/x-rtp,media=(string)audio,encoding-name=(string)OPUS,clock-rate=(int)48000" ! rtpbin.recv_rtp_sink_0 \
- rtpbin. ! rtpopusdepay ! opusdec ! alsasink \
- udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 \
- rtpbin.send_rtcp_src_0 ! udpsink "host=$HOST" port=5001 sync=false async=false