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

WebRtcTransport.cpp: avoid calling rembClient->ReceiveRtpPacket() twice

上级 fe1ffff6
......@@ -770,11 +770,7 @@ namespace RTC
this->iceSelectedTuple->Send(data, len);
// If we have a REMB client pass the packet to it (just if video).
if (this->rembClient && consumer->GetKind() == RTC::Media::Kind::VIDEO)
this->rembClient->ReceiveRtpPacket(packet);
// Feed the REMB server.
// Feed the REMB client.
if (this->rembClient)
{
static uint32_t absSendTime;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论