aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-02-27 20:54:00 +0000
committerJonas Smedegaard <dr@jones.dk>2017-02-27 20:54:00 +0000
commit6ce57b47f050c39fbf28f4af639ef19608a74cfa (patch)
treeb6ef01437b5b8d9f0038ce9965792f7e69eb86f1 /example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
parentf953824dd2a18f15c2beeb5bd792f5f13fb75a44 (diff)
Use voctobox (not localhost) as voctocore host.
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-cam2.sh')
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam2.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
index a89de52..8380680 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+
confdir="`dirname "$0"`/../"
. $confdir/default-config.sh
if [ -f $confdir/config.sh ]; then
@@ -15,4 +16,4 @@ gst-launch-1.0 \
mux. \
\
matroskamux name=mux !\
- tcpclientsink host=localhost port=10001
+ tcpclientsink host=$MIXHOST port=10001