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

Consumer: #183. Always reset the effective profile when removed

上级 efa54b44
...@@ -330,7 +330,7 @@ namespace RTC ...@@ -330,7 +330,7 @@ namespace RTC
return; return;
} }
if (this->mapProfileRtpStream.empty() || this->effectiveProfile == profile) if (this->effectiveProfile == profile)
{ {
SetEffectiveProfile(RtpEncodingParameters::Profile::NONE); SetEffectiveProfile(RtpEncodingParameters::Profile::NONE);
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论