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
82ea4d71
Commit
82ea4d71
authored
Feb 09, 2016
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Stay READY if a new nominated pairs comes in
parent
729bd3bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
agent/conncheck.c
agent/conncheck.c
+10
-1
No files found.
agent/conncheck.c
View file @
82ea4d71
...
@@ -1424,8 +1424,17 @@ static void priv_mark_pair_nominated (NiceAgent *agent, NiceStream *stream, Nice
...
@@ -1424,8 +1424,17 @@ static void priv_mark_pair_nominated (NiceAgent *agent, NiceStream *stream, Nice
nice_debug
(
"Agent %p : marking pair %p (%s) as nominated"
,
agent
,
pair
,
pair
->
foundation
);
nice_debug
(
"Agent %p : marking pair %p (%s) as nominated"
,
agent
,
pair
,
pair
->
foundation
);
pair
->
nominated
=
TRUE
;
pair
->
nominated
=
TRUE
;
if
(
pair
->
state
==
NICE_CHECK_SUCCEEDED
||
if
(
pair
->
state
==
NICE_CHECK_SUCCEEDED
||
pair
->
state
==
NICE_CHECK_DISCOVERED
)
pair
->
state
==
NICE_CHECK_DISCOVERED
)
{
priv_update_selected_pair
(
agent
,
component
,
pair
);
priv_update_selected_pair
(
agent
,
component
,
pair
);
/* Do not step down to CONNECTED if we're already at state READY*/
if
(
component
->
state
!=
NICE_COMPONENT_STATE_READY
)
{
/* step: notify the client of a new component state (must be done
* before the possible check list state update step */
agent_signal_component_state_change
(
agent
,
stream
->
id
,
component
->
id
,
NICE_COMPONENT_STATE_CONNECTED
);
}
}
priv_update_check_list_state_for_ready
(
agent
,
stream
,
component
);
priv_update_check_list_state_for_ready
(
agent
,
stream
,
component
);
}
}
}
}
...
...
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