|
@@ -615,7 +615,8 @@ class BotAgent:
|
|
|
media_cfg.jbMaxPre = 16 # Maximum pre-fetch frames
|
|
|
media_cfg.noVad = True # Disable Voice Activity Detection if needed
|
|
|
media_cfg.clockRate = 16000
|
|
|
- # media_cfg.audioFramePtime = 40
|
|
|
+ media_cfg.channelCount = 1
|
|
|
+ media_cfg.audioFramePtime = 40
|
|
|
# media_cfg.ptime = 40
|
|
|
# media_cfg.clockRate = 8000
|
|
|
self.ep.medConfig = media_cfg # Apply media config to endpoint
|