Commit e72ef633 authored by Committed by Nicolas Dufresne
rtpsession: Fix EOS forwarding
So far we assumed that if all sources are bye, this meant we needed to send an EOS on the RTCP sink. The problem is that this case may happens if we only had one internal source and it detected a collision. So now we limit the EOS forwarding to when there is a send_rtp_sink pad and that this pad has received EOS. We don'tcheck the recv_rtp_sink since the code does not wait for the bye to be send before sending EOS to the RTCP src pad.
Showing with 6 additions and 3 deletions