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
98b6e463
Commit
98b6e463
authored
Sep 24, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
port test-fullmode to the new turn API
parent
2b151cb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
agent/test-fullmode.c
agent/test-fullmode.c
+12
-12
No files found.
agent/test-fullmode.c
View file @
98b6e463
...
...
@@ -284,13 +284,13 @@ static int run_full_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *bas
g_assert
(
rs_id
>
0
);
#if USE_TURN
nice_agent_set_relay_info
(
lagent
,
ls_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
lagent
,
ls_id
,
2
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
2
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
#endif
...
...
@@ -426,13 +426,13 @@ static int run_full_test_delayed_answer (NiceAgent *lagent, NiceAgent *ragent, N
g_assert
(
rs_id
>
0
);
#if USE_TURN
nice_agent_set_relay_info
(
lagent
,
ls_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
lagent
,
ls_id
,
2
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
2
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
#endif
...
...
@@ -585,9 +585,9 @@ static int run_full_test_wrong_password (NiceAgent *lagent, NiceAgent *ragent, N
g_assert
(
rs_id
>
0
);
#if USE_TURN
nice_agent_set_relay_info
(
lagent
,
ls_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
#endif
nice_agent_gather_candidates
(
lagent
,
ls_id
);
...
...
@@ -705,9 +705,9 @@ static int run_full_test_control_conflict (NiceAgent *lagent, NiceAgent *ragent,
g_assert
(
rs_id
>
0
);
#if USE_TURN
nice_agent_set_relay_info
(
lagent
,
ls_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
nice_agent_set_relay_info
(
ragent
,
rs_id
,
1
,
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
,
TRUE
);
TURN_IP
,
TURN_PORT
,
TURN_USER
,
TURN_PASS
);
#endif
nice_agent_gather_candidates
(
lagent
,
ls_id
);
...
...
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