Commit 43140065 by xiongziliang

调整nack相关参数

parent 94282d24
......@@ -40,13 +40,13 @@ public:
using Ptr = std::shared_ptr<NackContext>;
using onNack = std::function<void(const mediakit::FCI_NACK &nack)>;
//最大保留的rtp丢包状态个数
static constexpr auto kNackMaxSize = 1024;
static constexpr auto kNackMaxSize = 2048;
//rtp丢包状态最长保留时间
static constexpr auto kNackMaxMS = 3 * 1000;
//nack最多请求重传10次
static constexpr auto kNackMaxCount = 10;
//nack重传频率,rtt的倍数
static constexpr auto kNackIntervalRatio = 2.0f;
static constexpr auto kNackIntervalRatio = 1.0f;
NackContext() = default;
~NackContext() = default;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论