rtpbin: use max-streams on rtpssrcdemux
authorMikhail Fludkov <misha@pexip.com>
Wed, 14 Sep 2016 14:49:26 +0000 (16:49 +0200)
committerHavard Graff <havard@pexip.com>
Tue, 11 Feb 2020 14:12:07 +0000 (15:12 +0100)
commit851a2b79259cafa0500ad3236f69ef15838993cd
tree058b8d7032fb53f3a6ef87580320146ea1e3c3c6
parent16d750bc01fc6633349a888d4490f8a382b8717f
rtpbin: use max-streams on rtpssrcdemux

The proper way of capping on max-streams is to do it in rtpssrcdemux.
This patch uses the newly introduced property on rtpssrcdemux. Previous
behavior would not prevent rtpssrcdemux spawning new pads for every new
ssrc and potentialy causing performance trouble during teardown.
gst/rtpmanager/gstrtpbin.c