Davidliu 3 meses atrás
pai
commit
3ff9a6c6a2
1 arquivos alterados com 1 adições e 0 exclusões
  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.jbMinPre = 4  # Minimum pre-fetch frames
             media_cfg.jbMaxPre = 16  # Maximum pre-fetch frames
             media_cfg.jbMaxPre = 16  # Maximum pre-fetch frames
             media_cfg.noVad = True  # Disable Voice Activity Detection if needed
             media_cfg.noVad = True  # Disable Voice Activity Detection if needed
+            media_cfg.clockRate = 8000
             self.ep.medConfig = media_cfg  # Apply media config to endpoint
             self.ep.medConfig = media_cfg  # Apply media config to endpoint
 
 
             # Create SIP transport. Error handling sample is shown
             # Create SIP transport. Error handling sample is shown