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

rtcp: simply Dump() the RR packet instead of iterating over it

上级 6d75382a
...@@ -82,19 +82,10 @@ namespace RTC { namespace RTCP ...@@ -82,19 +82,10 @@ namespace RTC { namespace RTCP
this->senderReportPacket.Dump(); this->senderReportPacket.Dump();
if (this->receiverReportPacket.GetCount()) if (this->receiverReportPacket.GetCount())
{ this->receiverReportPacket.Dump();
ReceiverReportPacket::Iterator it = this->receiverReportPacket.Begin();
for (; it != this->receiverReportPacket.End(); ++it)
{
(*it)->Dump();
}
}
} }
else else
{
this->receiverReportPacket.Dump(); this->receiverReportPacket.Dump();
}
if (this->sdesPacket.GetCount()) if (this->sdesPacket.GetCount())
this->sdesPacket.Dump(); this->sdesPacket.Dump();
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论