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
This commit is contained in:
Justin Kim 2017-11-01 15:29:58 +09:00 committed by Sebastian Dröge
parent 1aed3948a8
commit 2a5aafe425

View file

@ -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;