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
ce1f1aea
Commit
ce1f1aea
authored
Mar 09, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no more need for media_after_tick, useless and doesn't help much
parent
9c611354
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
agent/agent.c
agent/agent.c
+0
-1
agent/component.h
agent/component.h
+0
-2
agent/conncheck.c
agent/conncheck.c
+1
-3
No files found.
agent/agent.c
View file @
ce1f1aea
...
...
@@ -1566,7 +1566,6 @@ nice_agent_send (
sock
=
component
->
selected_pair
.
local
->
sockptr
;
addr
=
&
component
->
selected_pair
.
remote
->
addr
;
if
(
nice_socket_send
(
sock
,
addr
,
len
,
buf
))
{
component
->
media_after_tick
=
TRUE
;
ret
=
len
;
}
goto
done
;
...
...
agent/component.h
View file @
ce1f1aea
...
...
@@ -100,8 +100,6 @@ struct _Component
GList
*
turn_servers
;
/**< List of TURN servers */
CandidatePair
selected_pair
;
/**< independent from checklists,
see ICE 11.1. "Sending Media" (ID-19) */
gboolean
media_after_tick
;
/**< true if media received since last
keepalive tick */
NiceCandidate
*
restart_candidate
;
/**< for storing active remote candidate during a restart */
NiceAgentRecvFunc
g_source_io_cb
;
/**< function called on io cb */
gpointer
data
;
/**< data passed to the io function */
...
...
agent/conncheck.c
View file @
ce1f1aea
...
...
@@ -521,8 +521,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
Stream
*
stream
=
i
->
data
;
for
(
j
=
stream
->
components
;
j
;
j
=
j
->
next
)
{
Component
*
component
=
j
->
data
;
if
(
component
->
selected_pair
.
local
!=
NULL
&&
component
->
media_after_tick
!=
TRUE
)
{
if
(
component
->
selected_pair
.
local
!=
NULL
)
{
CandidatePair
*
p
=
&
component
->
selected_pair
;
struct
sockaddr
sockaddr
;
...
...
@@ -609,7 +608,6 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
++
errors
;
}
}
component
->
media_after_tick
=
FALSE
;
}
}
...
...
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