rtpbin: pipeline gets an EOS when any rtpsources byes
authorAlejandro G. Castro <alex@igalia.com>
Wed, 26 Oct 2016 11:21:29 +0000 (13:21 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 1 Nov 2016 18:16:18 +0000 (20:16 +0200)
commiteeea2a7fe88a17b15318d5b6ae6e190b2f777030
tree07a5d04e3dedf889c29daa8397c5d5700b19628a
parentcd71e3a8e86440a3d9e6b69e1ec529d89e6a13b4
rtpbin: pipeline gets an EOS when any rtpsources byes

Instead of sending EOS when a source byes we have to wait for
all the sources to be gone, which means they already sent BYE and
were removed from the session. We now handle the EOS in the rtcp
loop checking the amount of sources in the session.

https://bugzilla.gnome.org/show_bug.cgi?id=773218
gst/rtpmanager/gstrtpsession.c
gst/rtpmanager/rtpsession.c
gst/rtpmanager/rtpsession.h