mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
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.
This commit is contained in:
parent
600afaaff9
commit
a241c62ecb
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue