提交 05086ce7 authored 作者: José Luis Millán's avatar José Luis Millán

Do not retransmit if it was retransmitted exactly 'rtt' milliseconds ago

上级 875465c2
...@@ -208,7 +208,7 @@ namespace RTC ...@@ -208,7 +208,7 @@ namespace RTC
// Don't resent the packet if it was resent in the last RTT ms. // Don't resent the packet if it was resent in the last RTT ms.
auto resentAtTime = (*bufferIt).resentAtTime; auto resentAtTime = (*bufferIt).resentAtTime;
if ((resentAtTime != 0u) && now - resentAtTime < static_cast<uint64_t>(rtt)) if ((resentAtTime != 0u) && now - resentAtTime <= static_cast<uint64_t>(rtt))
{ {
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtx, rtx,
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论