From 25fa19fba6aa753869a63f461eeadeff54ea39dc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 May 2007 12:32:27 +0000 Subject: gst/rtpmanager/gstrtpjitterbuffer.c: Add some debug info. Original commit message from CVS: * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_query): Add some debug info. * gst/rtpmanager/rtpsession.c: (rtp_session_init), (rtp_session_send_rtp): Store real user name in the session. --- gst/rtpmanager/gstrtpjitterbuffer.c | 4 ++++ gst/rtpmanager/rtpsession.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'gst/rtpmanager') diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c index 6fe2a916..e6540648 100644 --- a/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/gst/rtpmanager/gstrtpjitterbuffer.c @@ -1100,6 +1100,10 @@ gst_rtp_jitter_buffer_query (GstPad * pad, GstQuery * query) if ((res = gst_pad_query (peer, query))) { gst_query_parse_latency (query, &us_live, &min_latency, &max_latency); + GST_DEBUG_OBJECT (jitterbuffer, "Peer latency: min %" + GST_TIME_FORMAT " max %" GST_TIME_FORMAT, + GST_TIME_ARGS (min_latency), GST_TIME_ARGS (max_latency)); + min_latency += priv->latency_ms * GST_MSECOND; max_latency += priv->latency_ms * GST_MSECOND; diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 8a7f3e7d..9f5d58d8 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -186,8 +186,8 @@ rtp_session_init (RTPSession * sess) sess->mtu = 1400; /* some default SDES entries */ - //sess->cname = g_strdup_printf ("%s@%s", g_get_user_name (), g_get_host_name ()); - sess->cname = g_strdup_printf ("foo@%s", g_get_host_name ()); + sess->cname = + g_strdup_printf ("%s@%s", g_get_user_name (), g_get_host_name ()); sess->name = g_strdup (g_get_real_name ()); sess->tool = g_strdup ("GStreamer"); -- cgit v1.2.1