提交 bdba22a1 authored 作者: José Luis Millán's avatar José Luis Millán

gulp format

上级 34d6ea8f
......@@ -87,8 +87,7 @@ namespace RTC
// Out of order packet or already handled NACKed packet.
MS_DEBUG_TAG(
rtx,
"ignoring old packet not present in the NACK list [ssrc:%" PRIu32
", seq:%" PRIu16 "]",
"ignoring old packet not present in the NACK list [ssrc:%" PRIu32 ", seq:%" PRIu16 "]",
packet->GetSsrc(),
packet->GetSequenceNumber());
......@@ -159,8 +158,7 @@ namespace RTC
uint16_t sendAtSeq = seq + 0;
NackInfo nackInfo(seq, sendAtSeq);
MS_ASSERT(
this->nackList.find(seq) == this->nackList.end(), "packet already in the NACK list");
MS_ASSERT(this->nackList.find(seq) == this->nackList.end(), "packet already in the NACK list");
this->nackList[seq] = nackInfo;
}
......@@ -204,7 +202,8 @@ namespace RTC
NackInfo& nackInfo = it->second;
uint16_t seq = nackInfo.seq;
if (filter == NackFilter::SEQ && nackInfo.sentAtTime == 0 &&
if (
filter == NackFilter::SEQ && nackInfo.sentAtTime == 0 &&
SeqManager<uint16_t>::IsSeqHigherThan(this->lastSeq, nackInfo.sendAtSeq))
{
nackInfo.retries++;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论