• Iñaki Baz Castillo's avatar
    Attempt to fix #196 · e96379dc
    由 Iñaki Baz Castillo 提交于
    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.
    e96379dc
Consumer.cpp 26.7 KB