From b5a6059230d75263601788fa817a979e82df2e90 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Thu, 14 Jan 2016 16:33:44 +0100 Subject: [PATCH] util: prefer iceudp transport to google p2p This allows to use an alternate TURN server than google one when negociation a XMPP transport --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index b36f574..5ac5f95 100644 --- a/src/util.c +++ b/src/util.c @@ -820,8 +820,8 @@ jingle_pick_best_resource (GabbleConnection *conn, /* We prefer gtalk-p2p to ice, because it can use tcp and https relays (if * available). */ static const GabbleFeatureFallback transports[] = { - { TRUE, TWICE (NS_GOOGLE_TRANSPORT_P2P) }, { TRUE, TWICE (NS_JINGLE_TRANSPORT_ICEUDP) }, + { TRUE, TWICE (NS_GOOGLE_TRANSPORT_P2P) }, { TRUE, TWICE (NS_JINGLE_TRANSPORT_RAWUDP) }, { FALSE, NULL, NULL } }; -- 2.5.0