changeset 23826:157b30b530f4

Temporary fix to remove a 5-7 second delay when initiating a media session.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 06 Jun 2008 20:48:13 +0000
parents c984acc6c392
children 48fe9a9e20e2
files libpurple/media.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/media.c	Fri Jun 06 20:28:20 2008 +0000
+++ b/libpurple/media.c	Fri Jun 06 20:48:13 2008 +0000
@@ -865,6 +865,15 @@
 		g_object_set(G_OBJECT(session->session), "local-codecs-config",
 			     codec_conf, NULL);
 
+	/*
+	 * Temporary fix to remove a 5-7 second delay before
+	 * receiving the src-pad-added signal.
+	 * Only works for one-to-one sessions.
+	 * Specific to FsRtpSession.
+	 */
+		g_object_set(G_OBJECT(session->session), "no-rtcp-timeout", 0, NULL);
+
+
 		fs_codec_list_destroy(codec_conf);
 
 		session->id = g_strdup(sess_id);