Skip to content

Commit

Permalink
Working on #160
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Nov 17, 2017
1 parent d42d6f1 commit a961e11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions worker/src/RTC/Consumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ namespace RTC
// Target profile removed. Recalculate.
else if (this->targetProfile == profile)
{
// It may also be the effective profile, so set it to none.
if (this->effectiveProfile == profile)
SetEffectiveProfile(RtpEncodingParameters::Profile::NONE);

RecalculateTargetProfile();
}
// There is an ongoing probation for this profile, disable it.
Expand Down

0 comments on commit a961e11

Please sign in to comment.