summaryrefslogtreecommitdiff
path: root/voctocore/lib/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/commands.py')
-rw-r--r--voctocore/lib/commands.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py
index c898baf..5975e98 100644
--- a/voctocore/lib/commands.py
+++ b/voctocore/lib/commands.py
@@ -27,12 +27,17 @@ class ControlServerCommands():
def set_video_a(self, src_name_or_id):
src_id = self.decodeSourceName(src_name_or_id)
- self.pipeline.vmix.setVideoA(src_id)
+ self.pipeline.vmix.setVideoSourceA(src_id)
return True
def set_video_b(self, src_name_or_id):
src_id = self.decodeSourceName(src_name_or_id)
- self.pipeline.vmix.setVideoB(src_id)
+ self.pipeline.vmix.setVideoSourceB(src_id)
+ return True
+
+ def set_audio(self, src_name_or_id):
+ src_id = self.decodeSourceName(src_name_or_id)
+ self.pipeline.amix.setAudioSource(src_id)
return True
def set_composite_mode(self, composite_mode):