瀏覽代碼

讯飞asr测试,debug

Davidliu 1 月之前
父節點
當前提交
0730bfafe2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/voip/bot.py

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

@@ -616,7 +616,7 @@ class BotAgent:
             media_cfg.noVad = True  # Disable Voice Activity Detection if needed
             media_cfg.noVad = True  # Disable Voice Activity Detection if needed
             media_cfg.clockRate = 16000
             media_cfg.clockRate = 16000
             media_cfg.channelCount = 1
             media_cfg.channelCount = 1
-            # media_cfg.audioFramePtime = 40
+            media_cfg.audioFramePtime = 40
             # media_cfg.ptime = 40
             # media_cfg.ptime = 40
             # media_cfg.clockRate = 8000
             # media_cfg.clockRate = 8000
             self.ep.medConfig = media_cfg  # Apply media config to endpoint
             self.ep.medConfig = media_cfg  # Apply media config to endpoint