Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
c4ad6fbc
Commit
c4ad6fbc
authored
Dec 22, 2010
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test-fullmode: Add a USE_RELIABLE option to enable/disable reliable mode
parent
1585d259
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
tests/test-fullmode.c
tests/test-fullmode.c
+15
-4
No files found.
tests/test-fullmode.c
View file @
c4ad6fbc
...
...
@@ -48,6 +48,7 @@
#define USE_LOOPBACK 1
#define USE_PROXY 0
#define USE_UPNP 0
#define USE_RELIABLE 1
#define TEST_GOOGLE 0
#define PROXY_IP "127.0.0.1"
...
...
@@ -746,8 +747,18 @@ int main (void)
*/
/* step: create the agents L and R */
lagent
=
nice_agent_new_reliable
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
ragent
=
nice_agent_new_reliable
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
#if USE_RELIABLE
lagent
=
nice_agent_new_reliable
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
ragent
=
nice_agent_new_reliable
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
#else
lagent
=
nice_agent_new
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
ragent
=
nice_agent_new
(
g_main_loop_get_context
(
global_mainloop
),
NICE_COMPATIBILITY
);
#endif
nice_agent_set_software
(
lagent
,
"Test-fullmode, Left Agent"
);
nice_agent_set_software
(
ragent
,
"Test-fullmode, Right Agent"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment