diff libpurple/media/backend-fs2.c @ 30469:195d034b6cfe

Removed the TCP and TLS TURN relaying options since libnice currently only supports these in Google mode. Added a note about this in fs-backend.c and changed the prefs label to read "UDP Port"
author Marcus Lundblad <ml@update.uu.se>
date Tue, 31 Aug 2010 18:26:04 +0000
parents 797c03de8fa9
children 356a8d472395
line wrap: on
line diff
--- a/libpurple/media/backend-fs2.c	Tue Aug 31 02:57:59 2010 +0000
+++ b/libpurple/media/backend-fs2.c	Tue Aug 31 18:26:04 2010 +0000
@@ -1639,20 +1639,9 @@
 				password, "udp");
 		}
 
-		/* TCP */
-		port = purple_prefs_get_int("/purple/network/turn_port_tcp");
-		if (port > 0) {
-			relay_info = append_relay_info(relay_info, turn_ip, port, username,
-				password, "tcp");
-		}
-
-		/* TLS */
-		port = purple_prefs_get_int("/purple/network/turn_port_tls");
-		if (port > 0) {
-			relay_info = append_relay_info(relay_info, turn_ip, port, username,
-				password, "tls");
-		}
-
+		/* should add TCP and perhaps TLS relaying options when these are
+		 supported by libnice using non-google mode */
+		
 		purple_debug_info("backend-fs2",
 			"Setting relay-info on new stream\n");
 		_params[_num_params].name = "relay-info";