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
921ab719
Commit
921ab719
authored
Oct 03, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Insert the candidates sorted after setting the priority
parent
6919a4d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
agent/conncheck.c
agent/conncheck.c
+3
-3
No files found.
agent/conncheck.c
View file @
921ab719
...
@@ -1375,9 +1375,6 @@ static void priv_add_new_check_pair (NiceAgent *agent, guint stream_id, Componen
...
@@ -1375,9 +1375,6 @@ static void priv_add_new_check_pair (NiceAgent *agent, guint stream_id, Componen
stream
=
agent_find_stream
(
agent
,
stream_id
);
stream
=
agent_find_stream
(
agent
,
stream_id
);
pair
=
g_slice_new0
(
CandidateCheckPair
);
pair
=
g_slice_new0
(
CandidateCheckPair
);
stream
->
conncheck_list
=
g_slist_insert_sorted
(
stream
->
conncheck_list
,
pair
,
(
GCompareFunc
)
conn_check_compare
);
pair
->
agent
=
agent
;
pair
->
agent
=
agent
;
pair
->
stream_id
=
stream_id
;
pair
->
stream_id
=
stream_id
;
pair
->
component_id
=
component
->
id
;;
pair
->
component_id
=
component
->
id
;;
...
@@ -1395,6 +1392,9 @@ static void priv_add_new_check_pair (NiceAgent *agent, guint stream_id, Componen
...
@@ -1395,6 +1392,9 @@ static void priv_add_new_check_pair (NiceAgent *agent, guint stream_id, Componen
pair
->
nominated
=
use_candidate
;
pair
->
nominated
=
use_candidate
;
pair
->
controlling
=
agent
->
controlling_mode
;
pair
->
controlling
=
agent
->
controlling_mode
;
stream
->
conncheck_list
=
g_slist_insert_sorted
(
stream
->
conncheck_list
,
pair
,
(
GCompareFunc
)
conn_check_compare
);
nice_debug
(
"Agent %p : added a new conncheck %p with foundation of '%s' to list %u."
,
agent
,
pair
,
pair
->
foundation
,
stream_id
);
nice_debug
(
"Agent %p : added a new conncheck %p with foundation of '%s' to list %u."
,
agent
,
pair
,
pair
->
foundation
,
stream_id
);
/* implement the hard upper limit for number of
/* implement the hard upper limit for number of
...
...
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