Attempt to fix #196
Scenario:
* `mapProfileRtpStream` has "low" and "medium".
* `effectiveProfile` is "medium".
* Somehow `probingProfile` is also "medium". This should not happen (we know
that?), but it may explain the crash.
* `Consumer::RemoveProfile("medium")` is called.
* `mapProfileRtpStream` now has just "low" so `RemoveProfile()` returns.
* `effectiveProfile` still is "medium".
* But "medium" is no longer in `mapProfileRtpStream`, so crash.
正在显示
请
注册
或者
登录
后发表评论