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

Request full frame only when required

上级 7a8676bf
......@@ -683,12 +683,12 @@ namespace RTC
this->targetProfile = newProfile;
if (IsEnabled() && !IsPaused())
RequestFullFrame();
if (this->targetProfile == this->effectiveProfile)
return;
if (IsEnabled() && !IsPaused())
RequestFullFrame();
MS_DEBUG_TAG(
rtp,
"target profile set [profile:%s]",
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论