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

Fix uint32_t casting that was causing a wrong calculation

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