From 2a5aafe42562918de4715494448764f0d9136dd5 Mon Sep 17 00:00:00 2001 From: Justin Kim Date: Wed, 1 Nov 2017 15:29:58 +0900 Subject: [PATCH] rtpsesson: downgrade message level to debug when detected XR When XR packet is detected, warning message leads to misunderstandings. Until RFC3611 is implemented in gst-plugins-base, the level needs to be downgraded to avoid confusion. https://bugzilla.gnome.org/show_bug.cgi?id=789746 --- gst/rtpmanager/rtpsession.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 3364af2329..7e63e1bb0f 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -2858,6 +2858,12 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer, case GST_RTCP_TYPE_PSFB: rtp_session_process_feedback (sess, &packet, &pinfo, current_time); break; + case GST_RTCP_TYPE_XR: + /* FIXME: This block is added to downgrade warning level. + * Once the parser is implemented, it should be replaced with + * a proper process function. */ + GST_DEBUG ("got RTCP XR packet, but ignored"); + break; default: GST_WARNING ("got unknown RTCP packet type: %d", type); break;