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
25effd7e
Commit
25effd7e
authored
Apr 22, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
discovery: Store NiceCandidate in CandidateRefresh
parent
bd55d4fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
agent/conncheck.c
agent/conncheck.c
+1
-0
agent/discovery.h
agent/discovery.h
+1
-0
No files found.
agent/conncheck.c
View file @
25effd7e
...
@@ -2331,6 +2331,7 @@ priv_add_new_turn_refresh (CandidateDiscovery *cdisco, NiceCandidate *relay_cand
...
@@ -2331,6 +2331,7 @@ priv_add_new_turn_refresh (CandidateDiscovery *cdisco, NiceCandidate *relay_cand
cand
=
g_slice_new0
(
CandidateRefresh
);
cand
=
g_slice_new0
(
CandidateRefresh
);
agent
->
refresh_list
=
g_slist_append
(
agent
->
refresh_list
,
cand
);
agent
->
refresh_list
=
g_slist_append
(
agent
->
refresh_list
,
cand
);
cand
->
candidate
=
relay_cand
;
cand
->
nicesock
=
cdisco
->
nicesock
;
cand
->
nicesock
=
cdisco
->
nicesock
;
cand
->
relay_socket
=
relay_cand
->
sockptr
;
cand
->
relay_socket
=
relay_cand
->
sockptr
;
cand
->
server
=
cdisco
->
server
;
cand
->
server
=
cdisco
->
server
;
...
...
agent/discovery.h
View file @
25effd7e
...
@@ -72,6 +72,7 @@ typedef struct
...
@@ -72,6 +72,7 @@ typedef struct
NiceSocket
*
nicesock
;
/**< existing socket to use */
NiceSocket
*
nicesock
;
/**< existing socket to use */
NiceSocket
*
relay_socket
;
/**< relay socket from which we receive */
NiceSocket
*
relay_socket
;
/**< relay socket from which we receive */
NiceAddress
server
;
/**< STUN/TURN server address */
NiceAddress
server
;
/**< STUN/TURN server address */
NiceCandidate
*
candidate
;
/**< candidate to refresh */
Stream
*
stream
;
Stream
*
stream
;
Component
*
component
;
Component
*
component
;
TurnServer
*
turn
;
TurnServer
*
turn
;
...
...
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