👍️[Update] Model : OSCQueryServiceの起動処理を起動するまで処理するようにロールバック

This commit is contained in:
misyaguziya
2024-11-25 17:49:06 +09:00
parent 81232fdefc
commit 347b71561f
3 changed files with 4 additions and 20 deletions

View File

@@ -1310,11 +1310,8 @@ class Controller:
@staticmethod
def setEnableVrcMicMuteSync(*args, **kwargs) -> dict:
if config.RECEIVE_OSC_RUNNING is True:
config.VRC_MIC_MUTE_SYNC = True
model.setMuteSelfStatus()
else:
config.VRC_MIC_MUTE_SYNC = False
config.VRC_MIC_MUTE_SYNC = True
model.setMuteSelfStatus()
model.changeMicTranscriptStatus()
return {"status":200, "result":config.VRC_MIC_MUTE_SYNC}
@@ -1755,7 +1752,7 @@ class Controller:
# init OSC receive
printLog("Init OSC Receive")
config.RECEIVE_OSC_RUNNING = model.startReceiveOSC()
model.startReceiveOSC()
if config.VRC_MIC_MUTE_SYNC is True:
self.setEnableVrcMicMuteSync()