rtpsession: Add support for receiving reduced size rtcp

See RFC 5506

https://bugzilla.gnome.org/show_bug.cgi?id=750332
This commit is contained in:
Jose Antonio Santos Cadenas 2015-06-03 13:14:44 +02:00 committed by Sebastian Dröge
parent ec82eba96b
commit f8f23bbf5d

View file

@ -2624,7 +2624,7 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
g_return_val_if_fail (RTP_IS_SESSION (sess), GST_FLOW_ERROR);
g_return_val_if_fail (GST_IS_BUFFER (buffer), GST_FLOW_ERROR);
if (!gst_rtcp_buffer_validate (buffer))
if (!gst_rtcp_buffer_validate_reduced (buffer))
goto invalid_packet;
GST_DEBUG ("received RTCP packet");