aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/control-server
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-02-28 15:10:39 +0100
committerJonas Smedegaard <dr@jones.dk>2017-02-28 15:10:39 +0100
commitcb42a9ad193179c527b44eccd3ca3ac59d573386 (patch)
tree8967af004209c8d7f159e45e5807979c7ca5953f /example-scripts/control-server
parent6ce57b47f050c39fbf28f4af639ef19608a74cfa (diff)
Add composition Matrix Two-by-two.
Diffstat (limited to 'example-scripts/control-server')
-rwxr-xr-xexample-scripts/control-server/demo-cycle-modes.sh3
-rwxr-xr-xexample-scripts/control-server/set-audio-cam3.sh9
-rwxr-xr-xexample-scripts/control-server/set-audio-cam4.sh9
-rwxr-xr-xexample-scripts/control-server/set-composite-matrix-two-by-two.sh9
4 files changed, 30 insertions, 0 deletions
diff --git a/example-scripts/control-server/demo-cycle-modes.sh b/example-scripts/control-server/demo-cycle-modes.sh
index 7440cf1..ab9cdbd 100755
--- a/example-scripts/control-server/demo-cycle-modes.sh
+++ b/example-scripts/control-server/demo-cycle-modes.sh
@@ -35,6 +35,9 @@ while true; do
./set-video-cam2.sh
./set-audio-cam2.sh
sleep 10
+ echo "composite-matrix-two-by-two"
+ ./set-composite-matrix-two-by-two.sh
+ sleep 10
echo "composite-picture-in-picture"
./set-composite-picture-in-picture.sh
sleep 10
diff --git a/example-scripts/control-server/set-audio-cam3.sh b/example-scripts/control-server/set-audio-cam3.sh
new file mode 100755
index 0000000..b591879
--- /dev/null
+++ b/example-scripts/control-server/set-audio-cam3.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
+echo set_audio cam3 | nc -q0 $MIXHOST 9999
diff --git a/example-scripts/control-server/set-audio-cam4.sh b/example-scripts/control-server/set-audio-cam4.sh
new file mode 100755
index 0000000..2dd26a8
--- /dev/null
+++ b/example-scripts/control-server/set-audio-cam4.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
+echo set_audio cam4 | nc -q0 $MIXHOST 9999
diff --git a/example-scripts/control-server/set-composite-matrix-two-by-two.sh b/example-scripts/control-server/set-composite-matrix-two-by-two.sh
new file mode 100755
index 0000000..1ea81c6
--- /dev/null
+++ b/example-scripts/control-server/set-composite-matrix-two-by-two.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
+echo set_composite_mode matrix_two_by_two | nc -q0 $MIXHOST 9999