aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/misc
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/misc')
-rwxr-xr-xexample-scripts/misc/demo-local.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/example-scripts/misc/demo-local.sh b/example-scripts/misc/demo-local.sh
index bb57e45..f985fb1 100755
--- a/example-scripts/misc/demo-local.sh
+++ b/example-scripts/misc/demo-local.sh
@@ -1,5 +1,11 @@
#!/bin/bash
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
../../voctocore/voctocore.py &
PID=$!
echo "PID=$PID"
@@ -10,6 +16,6 @@ sleep 1
../ffmpeg/av-record-output-ffmpeg.sh &
#../ffmpeg/stream-hd.sh &
../control-server/demo-cycle-modes.sh &
-ffplay tcp://localhost:11000
+ffplay tcp://$MIXHOST:11000
kill $PID
wait