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

gulp format

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