提交 af3ed7d7 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

RtpStreamSend: fix sent_bitmask usage

上级 55e122f9
......@@ -158,8 +158,13 @@ namespace RTC
bitmask >>= 1;
++seq32;
MS_WARN_TAG(rtcp, "---- counter: %zu", (size_t)counter);
// For debugging.
sent_bitmask |= (sent ? 1 : 0) << counter;
// NOTE: We don't check whether the first requested packet is sent but
// just the next 16.
if (counter > 0)
sent_bitmask |= (sent ? 1 : 0) << (counter - 1);
++counter;
}
while (bitmask != 0);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论