From 757dd894b78689e9560b26b1a0533779d5d72bb8 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 30 Jul 2022 10:16:21 +0800 Subject: [PATCH] feat: no auto-mute --- gui/virtcam/virtcam.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/virtcam/virtcam.lua b/gui/virtcam/virtcam.lua index 7a88b3e..6f3288a 100644 --- a/gui/virtcam/virtcam.lua +++ b/gui/virtcam/virtcam.lua @@ -73,21 +73,21 @@ local stage = "stopped" NewHttpServer("127.0.0.1", 10200, { ["POST /prepare"] = function(_, _) if stage == "stopped" then - run("pactl set-source-mute @DEFAULT_SOURCE@ 1") + -- run("pactl set-source-mute @DEFAULT_SOURCE@ 1") run_only(Actualcam) stage = "actual" end end, ["POST /actual"] = function(_, _) if stage ~= "actual" then - run("pactl set-source-mute @DEFAULT_SOURCE@ 0") + -- run("pactl set-source-mute @DEFAULT_SOURCE@ 0") run_only(Actualcam) stage = "actual" end end, ["POST /fake"] = function(_, _) if stage ~= "fake" then - run("pactl set-source-mute @DEFAULT_SOURCE@ 1") + -- run("pactl set-source-mute @DEFAULT_SOURCE@ 1") run_only(Actualcam) Recorder:start() run("sleep 3")