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

cosmetic

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