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

Set effective profile to NONE if the last one is removed

上级 fee279db
...@@ -244,6 +244,7 @@ namespace RTC ...@@ -244,6 +244,7 @@ namespace RTC
if (this->profiles.empty()) if (this->profiles.empty())
{ {
SetEffectiveProfile(RtpEncodingParameters::Profile::NONE);
RecalculateTargetProfile(); RecalculateTargetProfile();
} }
// If there is an ongoing probation for this profile, disable it. // If there is an ongoing probation for this profile, disable it.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论