• José Luis Millán's avatar
    RtpStreamSend: Memory optimizations (#840) · b42d907e
    由 José Luis Millán 提交于
    * RtpStreamSend: Memory optimizations
    
    Essentially extracted from https://github.com/versatica/mediasoup/pull/675
    
    * RtpStreamSend does not clone each RTP packet coming from Producer.
     - A std::shared_ptr holding the original packet is used by all RtpStreamSend
       instances.
    
    * RtpStreamSend does not clone each RTP packet when sending DTX.
     - The original RTP packet is DTX encoded/decoded when needed.
    
    * RtpStreamSend does not store up to 65536 RTP packets in a std::map.
     - Only a limited range of RTP packets are stored in a std::deque.
    b42d907e
SimpleConsumer.cpp 13.8 KB