Skip to content
Snippets Groups Projects
Commit c8656828 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

gnome: add RTCP parsing

Refs #44379
parent a103f4f0
No related branches found
No related tags found
No related merge requests found
...@@ -569,12 +569,24 @@ zrtp_not_supported_cb(G_GNUC_UNUSED DBusGProxy *proxy, const gchar *callID, SFLP ...@@ -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 static void
on_rtcp_report_received_cb(G_GNUC_UNUSED DBusGProxy *proxy, const gchar *callID, on_rtcp_report_received_cb(G_GNUC_UNUSED DBusGProxy *proxy, const gchar *callID,
const GHashTable *stats, const GHashTable *stats,
SFLPhoneClient *client) SFLPhoneClient *client)
{ {
g_debug("Daemon notification of new RTCP report for %s", callID); 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 static void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment