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

RTX: drop the packet if the NackGenerator is not ready

上级 233a553a
...@@ -116,7 +116,7 @@ namespace RTC ...@@ -116,7 +116,7 @@ namespace RTC
this->SetHeaderExtensions(packet); this->SetHeaderExtensions(packet);
// Pass the packet to the NackGenerator. // Pass the packet to the NackGenerator.
if (this->params.useNack) if (this->params.useNack && this->nackGenerator)
this->nackGenerator->ReceivePacket(packet); this->nackGenerator->ReceivePacket(packet);
return true; return true;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论