Commit e0903ce0 authored by Youness Alaoui's avatar Youness Alaoui

Add a USE_PROXY option to test-fullmode

parent 76bd50b0
...@@ -46,14 +46,19 @@ ...@@ -46,14 +46,19 @@
#define USE_TURN 0 #define USE_TURN 0
#define USE_LOOPBACK 1 #define USE_LOOPBACK 1
#define USE_PROXY 0
#define TEST_GOOGLE 0 #define TEST_GOOGLE 0
#define PROXY_IP "127.0.0.1" #define PROXY_IP "127.0.0.1"
#define PROXY_PORT 1080 #define PROXY_PORT 1080
#define PROXY_TYPE NICE_PROXY_TYPE_SOCKS5
#define PROXY_USERNAME NULL #define PROXY_USERNAME NULL
#define PROXY_PASSWORD NULL #define PROXY_PASSWORD NULL
#if USE_PROXY
#define PROXY_TYPE NICE_PROXY_TYPE_SOCKS5
#else
#define PROXY_TYPE NICE_PROXY_TYPE_NONE
#endif
#if TEST_GOOGLE #if TEST_GOOGLE
#define NICE_COMPATIBILITY NICE_COMPATIBILITY_GOOGLE #define NICE_COMPATIBILITY NICE_COMPATIBILITY_GOOGLE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment