pidgin.vv: 293dcd87: Set no-rtcp-timeout to 0 only for nice a...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Mon Dec 15 05:50:34 EST 2008


-----------------------------------------------------------------
Revision: 293dcd872317589363127f6756504ae07c8d2a95
Ancestor: 2f20c12247695ae38b647fd3243ecc79869ff22e
Author: maiku at soc.pidgin.im
Date: 2008-12-15T09:13:41
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/293dcd872317589363127f6756504ae07c8d2a95

Modified files:
        libpurple/media.c

ChangeLog: 

Set no-rtcp-timeout to 0 only for nice and rawudp transmitters.

-------------- next part --------------
============================================================
--- libpurple/media.c	235e59d939a2265a133809e03c2fdcd8b203b4e0
+++ libpurple/media.c	027d79a1920f3cf84f40b8febcda52511325bdca
@@ -1168,15 +1168,15 @@ purple_media_add_stream_internal(PurpleM
 
 		fs_session_set_codec_preferences(session->session, 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);
+		/*
+		 * Removes a 5-7 second delay before
+		 * receiving the src-pad-added signal.
+		 * Only works for non-multicast FsRtpSessions.
+		 */
+		if (!strcmp(transmitter, "nice") || !strcmp(transmitter, "rawudp"))
+			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