Browse Source

讯飞asr测试,debug

Davidliu 1 month ago
parent
commit
0730bfafe2
1 changed files with 1 additions and 1 deletions
  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.clockRate = 16000
             media_cfg.channelCount = 1
-            # media_cfg.audioFramePtime = 40
+            media_cfg.audioFramePtime = 40
             # media_cfg.ptime = 40
             # media_cfg.clockRate = 8000
             self.ep.medConfig = media_cfg  # Apply media config to endpoint