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

gulp format

上级 860d8a62
...@@ -39,7 +39,7 @@ namespace RTC ...@@ -39,7 +39,7 @@ namespace RTC
{ {
MS_TRACE(); MS_TRACE();
uint16_t seq = packet->GetSequenceNumber(); uint16_t seq = packet->GetSequenceNumber();
bool isKeyFrame = packet->IsKeyFrame(); bool isKeyFrame = packet->IsKeyFrame();
if (!this->started) if (!this->started)
...@@ -178,10 +178,10 @@ namespace RTC ...@@ -178,10 +178,10 @@ namespace RTC
if (this->keyFrameList.empty()) if (this->keyFrameList.empty())
return; return;
auto it = this->keyFrameList.begin(); auto it = this->keyFrameList.begin();
auto seq = *it; auto seq = *it;
size_t numItemsBefore = this->nackList.size(); size_t numItemsBefore = this->nackList.size();
auto it2 = this->nackList.lower_bound(seq); auto it2 = this->nackList.lower_bound(seq);
this->nackList.erase(this->nackList.begin(), it2); this->nackList.erase(this->nackList.begin(), it2);
this->keyFrameList.erase(seq); this->keyFrameList.erase(seq);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RtpStreamRecv.hpp" #include "RTC/RtpStreamRecv.hpp"
#include "RTC/Codecs/Codecs.hpp"
#include "DepLibUV.hpp" #include "DepLibUV.hpp"
#include "Logger.hpp" #include "Logger.hpp"
#include "RTC/Codecs/Codecs.hpp"
namespace RTC namespace RTC
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论