Davidliu 3 tháng trước cách đây
mục cha
commit
3ff9a6c6a2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/core/voip/bot.py

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

@@ -599,6 +599,7 @@ class BotAgent:
             media_cfg.jbMinPre = 4  # Minimum pre-fetch frames
             media_cfg.jbMaxPre = 16  # Maximum pre-fetch frames
             media_cfg.noVad = True  # Disable Voice Activity Detection if needed
+            media_cfg.clockRate = 8000
             self.ep.medConfig = media_cfg  # Apply media config to endpoint
 
             # Create SIP transport. Error handling sample is shown