aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--voctocore/README.md17
-rw-r--r--voctocore/lib/commands.py3
2 files changed, 20 insertions, 0 deletions
diff --git a/voctocore/README.md b/voctocore/README.md
index f01f765..2520846 100644
--- a/voctocore/README.md
+++ b/voctocore/README.md
@@ -37,9 +37,26 @@ TCP-Port 9999
< set_video_a blafoo
> error "blafoo" is no known src
+< set_stream_blank pause
+> ok
+
+< set_stream_live
+> ok
+
> signal set_video_a cam1
> signal set_composite_mode side_by_side_equal
````
+
+# Messages
+Messages are Client-to-Client information that don't touch the server, while being distributed on its control-socket:
+````
+< message foo bar moo
+> ok
+
+… on a nother connection
+
+> signal message foo bar moo
+````
diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py
index 58dd234..c16358b 100644
--- a/voctocore/lib/commands.py
+++ b/voctocore/lib/commands.py
@@ -22,6 +22,9 @@ class ControlServerCommands():
raise IndexError("source %s unknown" % src_name_or_id)
+ def message(self, *args):
+ return True
+
def set_video_a(self, src_name_or_id):
src_id = self.decodeSourceName(src_name_or_id)
self.pipeline.vmix.setVideoSourceA(src_id)