Mercurial > pidgin.yaz
changeset 26056:bcbc62bb2496
Set no-rtcp-timeout to 0 only for nice and rawudp transmitters.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Mon, 15 Dec 2008 09:13:41 +0000 |
parents | 4a814967104e |
children | 584a4f5ce4dc |
files | libpurple/media.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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);