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

Probation: enhance logs

上级 8e229d60
...@@ -665,7 +665,7 @@ namespace RTC ...@@ -665,7 +665,7 @@ namespace RTC
OnRtpStreamUnhealthy(rtpStream); OnRtpStreamUnhealthy(rtpStream);
} }
void Consumer::OnRtpStreamHealthy(RtpStream* /*rtpStream*/) void Consumer::OnRtpStreamHealthy(RtpStream* rtpStream)
{ {
MS_TRACE(); MS_TRACE();
...@@ -674,7 +674,8 @@ namespace RTC ...@@ -674,7 +674,8 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtp, rtp,
"successful probation [profile:%s]", "successful probation [ssrc:%" PRIu32 ", profile:%s]",
rtpStream->GetSsrc(),
RTC::RtpEncodingParameters::profile2String[this->probingProfile].c_str()); RTC::RtpEncodingParameters::profile2String[this->probingProfile].c_str());
// Promote probing profile. // Promote probing profile.
...@@ -689,11 +690,12 @@ namespace RTC ...@@ -689,11 +690,12 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtp, rtp,
"target profile set [profile:%s]", "target profile set [ssrc:%" PRIu32 ", profile:%s]",
rtpStream->GetSsrc(),
RTC::RtpEncodingParameters::profile2String[this->targetProfile].c_str()); RTC::RtpEncodingParameters::profile2String[this->targetProfile].c_str());
} }
void Consumer::OnRtpStreamUnhealthy(RtpStream* /*rtpStream*/) void Consumer::OnRtpStreamUnhealthy(RtpStream* rtpStream)
{ {
MS_TRACE(); MS_TRACE();
...@@ -702,7 +704,8 @@ namespace RTC ...@@ -702,7 +704,8 @@ namespace RTC
{ {
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtp, rtp,
"unsuccessful probation [profile:%s]", "unsuccessful probation [ssrc:%" PRIu32 ", profile:%s]",
rtpStream->GetSsrc(),
RTC::RtpEncodingParameters::profile2String[this->probingProfile].c_str()); RTC::RtpEncodingParameters::profile2String[this->probingProfile].c_str());
// Disable probation flag. // Disable probation flag.
...@@ -714,7 +717,8 @@ namespace RTC ...@@ -714,7 +717,8 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtp, rtp,
"effective profile unhealthy [profile:%s]", "effective profile unhealthy [ssrc:%" PRIu32 ", profile:%s]",
rtpStream->GetSsrc(),
RTC::RtpEncodingParameters::profile2String[this->effectiveProfile].c_str()); RTC::RtpEncodingParameters::profile2String[this->effectiveProfile].c_str());
// No simulcast/SVC. // No simulcast/SVC.
...@@ -748,7 +752,8 @@ namespace RTC ...@@ -748,7 +752,8 @@ namespace RTC
MS_DEBUG_TAG( MS_DEBUG_TAG(
rtp, rtp,
"target profile set [profile:%s]", "target profile set [ssrc:%" PRIu32 ", profile:%s]",
rtpStream->GetSsrc(),
RTC::RtpEncodingParameters::profile2String[this->targetProfile].c_str()); RTC::RtpEncodingParameters::profile2String[this->targetProfile].c_str());
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论