soc.2008.vv: 26662bb0: Temporary fix to remove a 5-7 second del...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Fri Jun 6 18:25:45 EDT 2008


-----------------------------------------------------------------
Revision: 26662bb012bff66207ba3801fed6539aa2ad9ac0
Ancestor: 0a9f210c8a849443eaee08b8b90e2e23d4786aab
Author: maiku at soc.pidgin.im
Date: 2008-06-06T20:48:13
Branch: im.pidgin.soc.2008.vv
URL: http://d.pidgin.im/viewmtn/revision/info/26662bb012bff66207ba3801fed6539aa2ad9ac0

Modified files:
        libpurple/media.c

ChangeLog: 

Temporary fix to remove a 5-7 second delay when initiating a media session.

-------------- next part --------------
============================================================
--- libpurple/media.c	db407d6341e58704292fbfc319db7269d0c7e652
+++ libpurple/media.c	b37228cf83d2cac1bd03b75aa28c137f14579083
@@ -865,6 +865,15 @@ purple_media_add_stream_internal(PurpleM
 		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);


More information about the Commits mailing list