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

cosmetic

上级 e0905875
...@@ -95,7 +95,9 @@ namespace RTC ...@@ -95,7 +95,9 @@ namespace RTC
// Packets can arrive out of order, add blank slots. // Packets can arrive out of order, add blank slots.
for (uint16_t i{ 1 }; i < addToBack; ++i) for (uint16_t i{ 1 }; i < addToBack; ++i)
{
this->buffer.push_back(nullptr); this->buffer.push_back(nullptr);
}
this->buffer.push_back(storageItem); this->buffer.push_back(storageItem);
} }
...@@ -109,7 +111,9 @@ namespace RTC ...@@ -109,7 +111,9 @@ namespace RTC
// Packets can arrive out of order, add blank slots. // Packets can arrive out of order, add blank slots.
for (uint16_t i{ 1 }; i < addToFront; ++i) for (uint16_t i{ 1 }; i < addToFront; ++i)
{
this->buffer.push_front(nullptr); this->buffer.push_front(nullptr);
}
this->buffer.push_front(storageItem); this->buffer.push_front(storageItem);
this->startSeq = seq; this->startSeq = seq;
...@@ -304,12 +308,18 @@ namespace RTC ...@@ -304,12 +308,18 @@ namespace RTC
switch (messageType) switch (messageType)
{ {
case RTC::RTCP::FeedbackPs::MessageType::PLI: case RTC::RTCP::FeedbackPs::MessageType::PLI:
{
this->pliCount++; this->pliCount++;
break; break;
}
case RTC::RTCP::FeedbackPs::MessageType::FIR: case RTC::RTCP::FeedbackPs::MessageType::FIR:
{
this->firCount++; this->firCount++;
break; break;
}
default:; default:;
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论