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

Fix #156. Producer: Do announce default profile removal

上级 b17ac576
...@@ -683,10 +683,6 @@ namespace RTC ...@@ -683,10 +683,6 @@ namespace RTC
// Remove the profile from the active profiles map. // Remove the profile from the active profiles map.
this->mapActiveProfiles.erase(profile); this->mapActiveProfiles.erase(profile);
// Don't announce default profile, but just those for simulcast/SVC.
if (profile == RTC::RtpEncodingParameters::Profile::DEFAULT)
break;
for (auto& listener : this->listeners) for (auto& listener : this->listeners)
{ {
listener->OnProducerProfileDisabled(this, profile); listener->OnProducerProfileDisabled(this, profile);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论