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

RTX: remove extra debug line

上级 13ca7f07
...@@ -410,11 +410,7 @@ namespace RTC ...@@ -410,11 +410,7 @@ namespace RTC
// Chrome sends some RTX packets with no payload when the stream is started. // Chrome sends some RTX packets with no payload when the stream is started.
// Just ignore them. // Just ignore them.
if (this->payloadLength < 2) if (this->payloadLength < 2)
{
MS_DEBUG_TAG(rtx, "ignoring RTX packet with empty payload");
return false; return false;
}
// Rewrite the payload type. // Rewrite the payload type.
this->SetPayloadType(payloadType); this->SetPayloadType(payloadType);
......
...@@ -99,9 +99,6 @@ namespace RTC ...@@ -99,9 +99,6 @@ namespace RTC
// Get the original RTP packet. // Get the original RTP packet.
if (!packet->RtxDecode(this->params.payloadType, this->params.ssrc)) if (!packet->RtxDecode(this->params.payloadType, this->params.ssrc))
{
// Ignore RTX packets with no payload.
if (packet->GetPayloadLength() < 2)
{ {
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtx, rtx,
...@@ -113,17 +110,6 @@ namespace RTC ...@@ -113,17 +110,6 @@ namespace RTC
return false; return false;
} }
MS_WARN_TAG(
rtx,
"ignoring malformed RTX packet [ssrc: %" PRIu32 " seq: %" PRIu16 " payload type: %" PRIu8
"]",
packet->GetSsrc(),
packet->GetSequenceNumber(),
packet->GetPayloadType());
return false;
}
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtx, rtx,
"received RTX packet [ssrc: %" PRIu32 " seq: %" PRIu16 "] recovering original [ssrc: %" PRIu32 "received RTX packet [ssrc: %" PRIu32 " seq: %" PRIu16 "] recovering original [ssrc: %" PRIu32
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论