diff libpurple/protocols/jabber/disco.c @ 26014:bd598b606ca4

Restructure Jingle code to more easily support multiple application types. Actually negotiate a rawudp transport rather than pretending to use iceudp.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sun, 19 Oct 2008 04:37:23 +0000
parents 4bc74deeb503
children 70ae1029bb70
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c	Fri Sep 05 02:18:15 2008 +0000
+++ b/libpurple/protocols/jabber/disco.c	Sun Oct 19 04:37:23 2008 +0000
@@ -28,6 +28,7 @@
 #include "iq.h"
 #include "disco.h"
 #include "jabber.h"
+#include "jingle/jingle.h"
 #include "presence.h"
 #include "roster.h"
 #include "pep.h"
@@ -157,10 +158,10 @@
 			SUPPORT_FEATURE("http://www.google.com/transport/p2p");
 			SUPPORT_FEATURE("http://www.google.com/transport/raw-udp");
 			SUPPORT_FEATURE("http://www.google.com/session/phone");
-			SUPPORT_FEATURE("urn:xmpp:tmp:jingle");
-			SUPPORT_FEATURE("urn:xmpp:tmp:jingle:apps:rtp#audio");
-			SUPPORT_FEATURE("urn:xmpp:tmp:jingle:apps:rtp#video");
-			SUPPORT_FEATURE("urn:xmpp:tmp:jingle:transports:ice-udp");
+			SUPPORT_FEATURE(JINGLE);
+			SUPPORT_FEATURE(JINGLE_APP_RTP_SUPPORT_AUDIO);
+			SUPPORT_FEATURE(JINGLE_APP_RTP_SUPPORT_VIDEO);
+			SUPPORT_FEATURE(JINGLE_TRANSPORT_RAWUDP);
 #endif
 		} else {
 			const char *ext = NULL;