rtpsession: Call on-new-ssrc earlier
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 24 Apr 2019 17:47:54 +0000 (13:47 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 7 Aug 2019 10:05:19 +0000 (10:05 +0000)
commit67b5edfebbc46893eae578ace518abfdaac8e3c7
tree317fc8d1abb6823a709fd97c7b0303ab38c483b1
parent0de3ebc5b26b3e3404386db6e058b42150ad7181
rtpsession: Call on-new-ssrc earlier

Right now, we may call on-new-ssrc after we have processed the first
RTP packet. This prevents properly configuring the source as some
property like "probation" are copied internally for use as a
decreasing counter. For this specific property, it prevents the
application from disabling probation on auxiliary sparse stream.

Probation is harmful on sparse streams since the probation algorithm
assume frequent and contiguous RTP packets.
gst/rtpmanager/rtpsession.c
tests/check/elements/rtpsession.c