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

Retransmit RTP on probation

上级 6dcd958b
...@@ -447,19 +447,9 @@ namespace RTC ...@@ -447,19 +447,9 @@ namespace RTC
// Send the packet. // Send the packet.
this->transport->SendRtpPacket(packet); this->transport->SendRtpPacket(packet);
// Send a fake RTP packet if probing. // Retransmit the RTP packet if probing.
if (this->isProbing) if (this->isProbing)
{ RetransmitRtpPacket(packet);
packet->SetSsrc(0xFFFF);
// TODO: Remove log.
MS_DEBUG_TAG(rtp, " probation..., sending fake rtp packet");
// Send the packet.
this->transport->SendRtpPacket(packet);
// TODO: Update transmitted RTP data counter.
}
} }
else else
{ {
...@@ -652,7 +642,7 @@ namespace RTC ...@@ -652,7 +642,7 @@ namespace RTC
if (it == this->profiles.begin()) if (it == this->profiles.begin())
{ {
// TODO: Notify the user. // TODO: Notify the user.
MS_WARN_TAG(rtp, "no healthy profile to serve"); MS_WARN_TAG(rtp, "lowest profile is unhealthy");
return; return;
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论