RTC: 修复一组丢包分多次nack发送时blp-vector没有被重置的问题

This commit is contained in:
于吉太 2023-11-23 20:57:10 +08:00
parent aacc95867f
commit ad4f0317a5
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ uint64_t NackContext::reSendNack() {
for (auto it = nack_rtp.begin(); it != nack_rtp.end();) { for (auto it = nack_rtp.begin(); it != nack_rtp.end();) {
if (pid == -1) { if (pid == -1) {
pid = *it; pid = *it;
vec.resize(FCI_NACK::kBitSize, false); vec.assign(FCI_NACK::kBitSize, false);
++it; ++it;
continue; continue;
} }