|
@@ -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():
|