rtpsession: Call on-new-ssrc earlier
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 24 Apr 2019 17:47:54 +0000 (13:47 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 2 May 2019 18:44:58 +0000 (14:44 -0400)
commit84c102b6fe567116319b6f4006dac8872df5fffc
tree15d47bb851b45af069ef8b4bc409cade4c90dc0c
parent74e409590a221583691466442b36e893fec72cee
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