We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42d6f1 commit a961e11Copy full SHA for a961e11
worker/src/RTC/Consumer.cpp
@@ -328,6 +328,10 @@ namespace RTC
328
// Target profile removed. Recalculate.
329
else if (this->targetProfile == profile)
330
{
331
+ // It may also be the effective profile, so set it to none.
332
+ if (this->effectiveProfile == profile)
333
+ SetEffectiveProfile(RtpEncodingParameters::Profile::NONE);
334
+
335
RecalculateTargetProfile();
336
}
337
// There is an ongoing probation for this profile, disable it.
0 commit comments