Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 26455:3613804b8f8d
disapproval of revision '536d6ae921253bbffab25aa51ce9bdcb1f0e20ec'
We depend on farsight 0.0.9 which requires libnice
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 28 Apr 2009 19:05:59 +0000 |
parents | 9131368ba4be |
children | 8b7d1aed6d59 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Sat Apr 04 06:15:58 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Apr 28 19:05:59 2009 +0000 @@ -2748,12 +2748,6 @@ return (caps & (PURPLE_MEDIA_CAPS_VIDEO | PURPLE_MEDIA_CAPS_VIDEO_SINGLE_DIRECTION)); } -static gboolean -feature_ice_transmitter_present(JabberStream *js, const char *namespace) -{ - return purple_media_transmitter_exists("nice"); -} - typedef struct { PurpleConnection *pc; gchar *who; @@ -3187,13 +3181,12 @@ /* Jingle features! */ jabber_add_feature(JINGLE, 0); jabber_add_feature(JINGLE_TRANSPORT_RAWUDP, 0); - + jabber_add_feature(JINGLE_TRANSPORT_ICEUDP, 0); #ifdef USE_VV jabber_add_feature("http://www.google.com/xmpp/protocol/session", feature_audio_enabled); jabber_add_feature("http://www.google.com/xmpp/protocol/voice/v1", feature_audio_enabled); jabber_add_feature(JINGLE_APP_RTP_SUPPORT_AUDIO, feature_audio_enabled); jabber_add_feature(JINGLE_APP_RTP_SUPPORT_VIDEO, feature_video_enabled); - jabber_add_feature(JINGLE_TRANSPORT_ICEUDP, feature_ice_transmitter_present); #endif /* IPC functions */