rtpbin: Remove the rtpjitterbuffer with the stream
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 23 Sep 2020 19:25:36 +0000 (15:25 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 24 Sep 2020 13:54:05 +0000 (09:54 -0400)
commit345f74b09d2a8eb421f9c77d8d2a65aec0e83005
treee6f7d06dece730411b3312bd832408a437f9e183
parentecc110ca8bd0ab30ad01c3de849383fee41e1b82
rtpbin: Remove the rtpjitterbuffer with the stream

Since !348, the jitterbuffer was only removed with the session. This restores
the original behaviour and removes the jitterbuffer when the stream is
removed. This avoid accumulating jitterbuffer objects into the bin when a
session is reused.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/735>
gst/rtpmanager/gstrtpbin.c