diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmanager/gstrtpjitterbuffer.c | 4 | ||||
-rw-r--r-- | gst/rtpmanager/rtpsession.c | 4 |
2 files changed, 6 insertions, 2 deletions
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"); |