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
f559f388
Commit
f559f388
authored
Apr 24, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Only stop conncheck timer if no stream has pending conn checks
parent
edcbc597
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
agent/conncheck.c
agent/conncheck.c
+11
-2
No files found.
agent/conncheck.c
View file @
f559f388
...
@@ -1447,6 +1447,7 @@ void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
...
@@ -1447,6 +1447,7 @@ void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
{
{
CandidateCheckPair
*
pair
;
CandidateCheckPair
*
pair
;
GSList
*
i
;
GSList
*
i
;
gboolean
keep_going
=
FALSE
;
for
(
i
=
stream
->
conncheck_list
;
i
;
)
{
for
(
i
=
stream
->
conncheck_list
;
i
;
)
{
GSList
*
next
=
i
->
next
;
GSList
*
next
=
i
->
next
;
...
@@ -1462,8 +1463,16 @@ void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
...
@@ -1462,8 +1463,16 @@ void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
break
;
break
;
}
}
if
(
!
stream
->
conncheck_list
)
for
(
i
=
agent
->
streams
;
i
;
i
=
i
->
next
)
{
conn_check_free
(
agent
);
Stream
*
s
=
i
->
data
;
if
(
s
->
conncheck_list
)
{
keep_going
=
TRUE
;
break
;
}
}
if
(
!
keep_going
)
conn_check_stop
(
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