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

RtpStreamSend: proper log

上级 c6538783
...@@ -823,7 +823,7 @@ namespace RTC ...@@ -823,7 +823,7 @@ namespace RTC
for (auto it : this->mapActiveProfiles) for (auto it : this->mapActiveProfiles)
{ {
auto activeRtpStream = it.second; auto activeRtpStream = it.second;
auto ssrc = activeRtpStream->GetSsrc(); auto ssrc = activeRtpStream->GetSsrc();
this->rtpStreams[ssrc]->ResetStatusCheckTimer(RTC::RtpStream::StatusCheckPeriod * 2); this->rtpStreams[ssrc]->ResetStatusCheckTimer(RTC::RtpStream::StatusCheckPeriod * 2);
} }
......
...@@ -405,7 +405,8 @@ namespace RTC ...@@ -405,7 +405,8 @@ namespace RTC
if (lossPercentage >= MaxHealthLossPercentage) if (lossPercentage >= MaxHealthLossPercentage)
{ {
MS_DEBUG_TAG(rtp, "last period loss percentage: %.2f", lossPercentage); MS_DEBUG_TAG(
rtp, "rtp stream packet loss [ssrc:%" PRIu32 ", %.2f%%]", GetSsrc(), lossPercentage);
if (this->notifyStatus || this->healthy) if (this->notifyStatus || this->healthy)
{ {
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论