# HG changeset patch # User Mike Ruprecht # Date 1229332421 0 # Node ID bcbc62bb249628c57c45ac0045166d92c7a430ce # Parent 4a814967104ee461b16d41bd601ead8ce5458c99 Set no-rtcp-timeout to 0 only for nice and rawudp transmitters. diff -r 4a814967104e -r bcbc62bb2496 libpurple/media.c --- a/libpurple/media.c Mon Dec 15 08:57:11 2008 +0000 +++ b/libpurple/media.c Mon Dec 15 09:13:41 2008 +0000 @@ -1168,14 +1168,14 @@ 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);