提交 6d791b65 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

C++ cosmetic

上级 692c8671
......@@ -462,8 +462,7 @@ namespace RTC
lost -= repaired * repairedWeight;
float deliveredRatio = static_cast<float>(received - lost) / static_cast<float>(received);
auto score = std::round(std::pow(deliveredRatio, 4) * 10);
auto score = std::round(std::pow(deliveredRatio, 4) * 10);
#ifdef MS_LOG_DEV
MS_DEBUG_TAG(
......
......@@ -583,8 +583,7 @@ namespace RTC
lost -= repaired * repairedWeight;
float deliveredRatio = static_cast<float>(sent - lost) / static_cast<float>(sent);
auto score = std::round(std::pow(deliveredRatio, 4) * 10);
auto score = std::round(std::pow(deliveredRatio, 4) * 10);
#ifdef MS_LOG_DEV
MS_DEBUG_TAG(
......@@ -595,8 +594,6 @@ namespace RTC
repairedWeight,
lost,
score);
report->Dump();
#endif
RtpStream::UpdateScore(score);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论