新增webrtc配置选项nackAudioRtpSize、preferred_tcp

nackAudioRtpSize: 音频nack包中rtp个数,减小此值可以让nack包响应更灵敏
preferred_tcp: 是否优先采用webrtc over tcp模式
This commit is contained in:
xia-chu
2026-01-09 11:39:22 +08:00
parent ae3d551c8a
commit fb491f3e79
6 changed files with 29 additions and 12 deletions

View File

@@ -412,10 +412,14 @@ nackMaxMS=3000
nackMaxCount=15
#nack重传频率rtt的倍数
nackIntervalRatio=1.0
#nack包中rtp个数减小此值可以让nack包响应更灵敏
#视频nack包中rtp个数减小此值可以让nack包响应更灵敏
nackRtpSize=8
#音频nack包中rtp个数减小此值可以让nack包响应更灵敏
nackAudioRtpSize=4
#是否尝试过滤 b帧
bfilter=0
# 是否优先采用webrtc over tcp模式
preferred_tcp=0
[srt]
#srt播放推流、播放超时时间,单位秒