Browse Source

fix: asr修改

余尚辉 4 months ago
parent
commit
55ad476888
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/voip/bot.py

+ 1 - 1
src/core/voip/bot.py

@@ -320,7 +320,7 @@ class MyCall(pj.Call):
         self.player.startTransmit(self.aud_med)
 
     def on_receiver_asr_result(self, message, *args):
-        if self.is_play_complete() and not self.txtLock:   # 判断是否播放完成 否则不记录用户说的内容
+        if not self.txtLock:   # 判断是否播放完成 否则不记录用户说的内容
             self.reset_wait_time()
             message = json.loads(message)
             if message["header"]["status"] == 20000000: