summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcus Lundblad <ml@update.uu.se>2010-08-23 23:00:05 +0200
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2010-12-14 20:52:23 -0500
commitbbd1d93ee600286b586581f6fe7ef4f3f5b1a64b (patch)
treebfef2903e764825f4810d707ecdc5f22ebc1161d /tests
parenta58b6e00cf71a7d82288de3c094cd0e1e78a9171 (diff)
downloadlibnice-bbd1d93ee600286b586581f6fe7ef4f3f5b1a64b.tar.gz
Remaining changes for RFC 5766
Diffstat (limited to 'tests')
-rw-r--r--tests/test-fullmode.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/test-fullmode.c b/tests/test-fullmode.c
index 2e9f84c..9ebdab7 100644
--- a/tests/test-fullmode.c
+++ b/tests/test-fullmode.c
@@ -44,9 +44,10 @@
#include <string.h>
-#define USE_TURN 0
+#define USE_TURN 1
#define USE_LOOPBACK 1
#define TEST_GOOGLE 0
+#define USE_TURN_SERVER_ORG 1
#define PROXY_IP "127.0.0.1"
#define PROXY_PORT 1080
@@ -85,10 +86,10 @@
#define NUMB_USER "youness.alaoui@collabora.co.uk"
#define NUMB_PASS "badger"
-#define TSORG_IP "127.0.0.1"
-#define TSORG_PORT 3478
-#define TSORG_USER "toto"
-#define TSORG_PASS "password"
+#define TSORG_IP "91.121.109.155"
+#define TSORG_PORT 3480
+#define TSORG_USER "anonymous"
+#define TSORG_PASS "anonymous"
#if USE_TURN_SERVER_ORG
@@ -348,6 +349,7 @@ static int run_full_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *bas
g_assert (ls_id > 0);
g_assert (rs_id > 0);
#if USE_TURN
+ nice_debug("TURN_IP: %s\n", TURN_IP);
nice_agent_set_relay_info(lagent, ls_id, 1,
TURN_IP, TURN_PORT, TURN_USER, TURN_PASS, TURN_TYPE);
nice_agent_set_relay_info(lagent, ls_id, 2,