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

Add rtx tags to key frame related RTCP packets

上级 7d9136bf
......@@ -199,7 +199,7 @@ namespace RTC
listener->OnProducerResumed(this);
}
MS_DEBUG_TAG(rtcp, "requesting full frame after resumed");
MS_DEBUG_2TAGS(rtcp, rtx, "requesting full frame after resumed");
RequestKeyFrame(true);
}
......@@ -422,7 +422,7 @@ namespace RTC
}
else if (this->keyFrameRequestBlockTimer->IsActive())
{
MS_DEBUG_TAG(rtcp, "blocking key frame due to flood protection");
MS_DEBUG_2TAGS(rtcp, rtx, "blocking key frame request due to flood protection");
// Set flag.
this->isKeyFrameRequested = true;
......@@ -866,7 +866,7 @@ namespace RTC
if (!this->isKeyFrameRequested)
return;
MS_DEBUG_TAG(rtcp, "key frame requested during flood protection, requesting it now");
MS_DEBUG_2TAGS(rtcp, rtx, "key frame requested during flood protection, requesting it now");
RequestKeyFrame();
}
......
......@@ -466,8 +466,8 @@ namespace RTC
{
if (consumer->kind == RTC::Media::Kind::VIDEO)
{
MS_DEBUG_TAG(
rtcp, "requesting key frame for new Consumer since Transport already connected");
MS_DEBUG_2TAGS(
rtcp, rtx, "requesting key frame for new Consumer since Transport already connected");
}
consumer->RequestKeyFrame();
......@@ -736,8 +736,8 @@ namespace RTC
break;
}
MS_DEBUG_TAG(
rtcp,
MS_DEBUG_2TAGS(
rtcp, rtx,
"%s received, requesting key frame for Consumer "
"[sender ssrc:%" PRIu32 ", media ssrc:%" PRIu32 "]",
RTCP::FeedbackPsPacket::MessageType2String(feedback->GetMessageType()).c_str(),
......@@ -1451,7 +1451,7 @@ namespace RTC
for (auto* consumer : this->consumers)
{
if (consumer->kind == RTC::Media::Kind::VIDEO)
MS_DEBUG_TAG(rtcp, "Transport connected, requesting key frame for Consumers");
MS_DEBUG_2TAGS(rtcp, rtx, "Transport connected, requesting key frame for Consumers");
consumer->RequestKeyFrame();
}
......@@ -1567,7 +1567,7 @@ namespace RTC
static_cast<double>(effectiveBitrate) / static_cast<double>(this->effectiveMaxBitrate) <
EffectiveMaxBitrateThresholdBeforeKeyFrame)
{
MS_WARN_TAG(rbe, "uplink effective max bitrate abruptly decreased, requesting key frames");
MS_WARN_2TAGS(rbe, rtx, "uplink effective max bitrate abruptly decreased, requesting key frames");
// Request key frame for all the Producers.
for (auto* producer : this->producers)
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论