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

Cosmetic

上级 647eec31
...@@ -109,7 +109,7 @@ namespace RTC ...@@ -109,7 +109,7 @@ namespace RTC
RTC::RtpEncodingParameters::Profile targetProfile{ RTC::RtpEncodingParameters::Profile::DEFAULT }; RTC::RtpEncodingParameters::Profile targetProfile{ RTC::RtpEncodingParameters::Profile::DEFAULT };
RTC::RtpEncodingParameters::Profile effectiveProfile{ RTC::RtpEncodingParameters::Profile::DEFAULT }; RTC::RtpEncodingParameters::Profile effectiveProfile{ RTC::RtpEncodingParameters::Profile::DEFAULT };
RTC::RtpEncodingParameters::Profile probingProfile{ RTC::RtpEncodingParameters::Profile::NONE }; RTC::RtpEncodingParameters::Profile probingProfile{ RTC::RtpEncodingParameters::Profile::NONE };
// RTP probation // RTP probation.
bool isProbing{ false }; bool isProbing{ false };
uint16_t rtpPacketsBeforeProbation{ 0 }; uint16_t rtpPacketsBeforeProbation{ 0 };
}; };
......
...@@ -645,7 +645,7 @@ namespace RTC ...@@ -645,7 +645,7 @@ namespace RTC
for (auto& listener : this->listeners) for (auto& listener : this->listeners)
{ {
listener->OnProducerProfileEnabled(this, profile, rtpStream); listener->OnProducerProfileEnabled(this, profile, dynamic_cast<RTC::RtpStreamInfo*>(rtpStream));
} }
} }
} }
......
...@@ -424,6 +424,7 @@ namespace RTC ...@@ -424,6 +424,7 @@ namespace RTC
if (currentLossPercentage >= MaxHealthLossPercentage) if (currentLossPercentage >= MaxHealthLossPercentage)
{ {
MS_DEBUG_TAG(rtp, "last period loss percentage: %" PRIu16, currentLossPercentage); MS_DEBUG_TAG(rtp, "last period loss percentage: %" PRIu16, currentLossPercentage);
if (this->notifyHealth || this->healthy) if (this->notifyHealth || this->healthy)
{ {
this->healthy = false; this->healthy = false;
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论