|
@@ -11,7 +11,7 @@ def build_ep_config():
|
|
ep_cfg.uaConfig.mainThreadOnly = False
|
|
ep_cfg.uaConfig.mainThreadOnly = False
|
|
ep_cfg.uaConfig.maxCalls = 12
|
|
ep_cfg.uaConfig.maxCalls = 12
|
|
ep_cfg.uaConfig.maxAccounts = 12
|
|
ep_cfg.uaConfig.maxAccounts = 12
|
|
- ep_cfg.medConfig.noVad = True
|
|
|
|
|
|
+ ep_cfg.medConfig.noVad = False
|
|
ep_cfg.logConfig.level = 3
|
|
ep_cfg.logConfig.level = 3
|
|
ep_cfg.logConfig.consoleLevel = 3
|
|
ep_cfg.logConfig.consoleLevel = 3
|
|
return ep_cfg
|
|
return ep_cfg
|
|
@@ -20,7 +20,7 @@ def build_media_config():
|
|
media_cfg = pj.MediaConfig()
|
|
media_cfg = pj.MediaConfig()
|
|
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 = False # 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
|