diff --git a/gnome/src/dbus/dbus.c b/gnome/src/dbus/dbus.c index 03eb658e60f38406b240b4eeee2f94613027ea66..f2ae2adf19002ac07575e40bdc3869489dafd898 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