瀏覽代碼

merge jms_20250106_prod,fix

Davidliu 1 月之前
父節點
當前提交
da833cc055
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/core/voip/constant.py

+ 2 - 2
src/core/voip/constant.py

@@ -33,10 +33,10 @@ def build_audio_format():
     fmt.id = pj.PJMEDIA_FORMAT_PCM
     fmt.channelCount = 1  # 通道数
     fmt.bitsPerSample = 16  # 每个采样的位数
-    # fmt.clockRate = 16000  # 采样率
-    # fmt.frameTimeUsec = 40000  #微秒
     fmt.clockRate = 8000  # 采样率
     fmt.frameTimeUsec = 20000
+    # fmt.clockRate = 16000  # 采样率
+    # fmt.frameTimeUsec = 40000  #微秒
     return fmt
 
 def build_sip_transport_config():