rtpssrcdemux: introduce max-streams property
authorMikhail Fludkov <misha@pexip.com>
Wed, 14 Sep 2016 14:41:02 +0000 (16:41 +0200)
committerHavard Graff <havard@pexip.com>
Tue, 11 Feb 2020 14:10:12 +0000 (15:10 +0100)
commit35596e7fac2efc15c079a7449d558c9e99c73c1d
tree5aff9454d1dd50267bc355458805ca2193bb649a
parent94e10d522e50e947f3d00274568b4cf6ffbf3a44
rtpssrcdemux: introduce max-streams property

The property is useful against atacks when the sender changes SSRC for
every RTP packet. The property with the same name introduced in rtpbin
was not enough, because we still can end up with thousands of pads
allocated in rtpssrcdemux.
gst/rtpmanager/gstrtpssrcdemux.c
gst/rtpmanager/gstrtpssrcdemux.h
tests/check/elements/rtpssrcdemux.c