rtpfunnel: don't enforce twcc during upstream negotiation
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 9 Nov 2021 18:41:14 +0000 (19:41 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 12 Nov 2021 18:40:32 +0000 (18:40 +0000)
commit97d83056b315c56834eaa6776ae4c6a0848b5ef9
tree22090b9187792fe6fb63066bd7e573936bb2c362
parent72118b9db4773837f17112f2a7225dbbb1a8983a
rtpfunnel: don't enforce twcc during upstream negotiation

A previous patch has caused rtpfunnel to output twcc-related
information downstream, however this leaked into upstream
negotiation (through funnel->srccaps), causing payloader to
negotiate twcc caps even when not prompted to do so by the user.

Fix this by only enforcing that upstream sends us application/x-rtp
caps as was the case originally.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1278>
subprojects/gst-plugins-good/gst/rtpmanager/gstrtpfunnel.c
subprojects/gst-plugins-good/tests/check/elements/rtpfunnel.c