GNOME Bugzilla – Bug 507940
rtpsession:rtp_send_src shouldnt not have fixed caps
Last modified: 2008-01-09 14:39:43 UTC
The rtpsession:rtp_send_src pad currently has gst_pad_use_fixed_caps() called on it, this prevents changing the payload type (or sending multiple payload types for things like DTMF or CN). Just removing the call to gst_pad_use_fixed_caps() in gstrtpsession.c:create_send_rtp_sink() fixes the problem for me.
* gst/rtpmanager/gstrtpsession.c: (create_send_rtp_sink): Don't set fixed caps, we can basically do everything the upsteam peer pad can renegotiate to. Fixes #507940.