rtpsession: print value of unknown RTCP Payload Type
authorJuan Navarro <juan.navarro@gmx.es>
Tue, 30 May 2017 20:23:10 +0000 (22:23 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 12 Jun 2017 06:59:55 +0000 (09:59 +0300)
This adds printing the actual value of any unknown RTCP PT
to the already existing WARNING log message.

https://bugzilla.gnome.org/show_bug.cgi?id=783248

gst/rtpmanager/rtpsession.c

index 2b47bb0..089aef7 100644 (file)
@@ -2859,7 +2859,7 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
         rtp_session_process_feedback (sess, &packet, &pinfo, current_time);
         break;
       default:
-        GST_WARNING ("got unknown RTCP packet");
+        GST_WARNING ("got unknown RTCP packet type: %d", type);
         break;
     }
     more = gst_rtcp_packet_move_to_next (&packet);