• Iñaki Baz Castillo's avatar
    Producer improvements (related to issue #235) (#238) · bfbb839c
    由 Iñaki Baz Castillo 提交于
    * - Producer.cpp: Remove UpdateRtpParameters(). It was broken since Consumers
      were not notified about profile removed and so on, so they may crash.
    - Producer.cpp: Remove some maps and simplify streams handling by having a
      single mapSsrcRtpStreamInfo. Just keep mapActiveProfiles because
      GetActiveProfiles() method needs it.
    - Producer::MayNeedNewStream(): Ignore new media streams with new SSRC if
      its RID is already in use by other media stream (should fix #235).
    bfbb839c
Producer.cpp 21.8 KB