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
577dd5c7
Commit
577dd5c7
authored
Aug 14, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use candidate->type instead of candidate->turn to check if a candidate is of type RELAY
parent
ef05c9a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
agent/discovery.c
agent/discovery.c
+1
-1
No files found.
agent/discovery.c
View file @
577dd5c7
...
...
@@ -325,7 +325,7 @@ static void priv_assign_foundation (NiceAgent *agent, NiceCandidate *candidate)
candidate
->
stream_id
==
n
->
stream_id
&&
nice_address_equal
(
&
candidate
->
base_addr
,
&
temp
)
&&
!
(
agent
->
compatibility
==
NICE_COMPATIBILITY_GOOGLE
&&
n
->
t
urn
!=
NULL
))
{
n
->
t
ype
==
NICE_CANDIDATE_TYPE_RELAYED
))
{
/* note: currently only one STUN/TURN server per stream at a
* time is supported, so there is no need to check
* for candidates that would otherwise share the
...
...
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