Browse Source

讯飞asr测试,debug

Davidliu 1 month ago
parent
commit
f53a3b0bff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/voip/constant.py

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

@@ -59,6 +59,7 @@ def build_account_config(host, port, user_part, password, timeout_sec):
     acfg.natConfig.udpKaIntervalSec = 30
     acfg.natConfig.contactRewriteUse = 2
     acfg.natConfig.sdpNatRewriteUse = 2
+    return acfg
 
 def build_audio_format():
     fmt = pj.MediaFormatAudio()