From c8656828962534bc7664743c504792b3b9a4b13b Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Fri, 18 Apr 2014 18:42:30 -0400
Subject: [PATCH] gnome: add RTCP parsing

Refs #44379
---
 gnome/src/dbus/dbus.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnome/src/dbus/dbus.c b/gnome/src/dbus/dbus.c
index 03eb658e60..f2ae2adf19 100644
--- a/gnome/src/dbus/dbus.c
+++ b/gnome/src/dbus/dbus.c
@@ -569,12 +569,24 @@ zrtp_not_supported_cb(G_GNUC_UNUSED DBusGProxy *proxy, const gchar *callID, SFLP
     }
 }
 
+
+#ifdef RTCP_DEBUG
+static void
+print_rtcp_stats(const gchar *key, gint value, G_GNUC_UNUSED gpointer data)
+{
+    g_debug("%s: %d", key, value);
+}
+#endif
+
 static void
 on_rtcp_report_received_cb(G_GNUC_UNUSED DBusGProxy *proxy, const gchar *callID,
                                                             const GHashTable *stats,
                                                             SFLPhoneClient *client)
 {
     g_debug("Daemon notification of new RTCP report for %s", callID);
+#ifdef RTCP_DEBUG
+    g_hash_table_foreach(stats, print_rtcp_stats, NULL);
+#endif
 }
 
 static void
-- 
GitLab