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
c92288f2
Commit
c92288f2
authored
Jan 04, 2023
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent: Allow getting UDP candidates from a TURN server over TCP
Even if the TCP candidates are disabled.
parent
b9da8180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
agent/agent.c
agent/agent.c
+2
-7
No files found.
agent/agent.c
View file @
c92288f2
...
@@ -2926,13 +2926,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
...
@@ -2926,13 +2926,8 @@ priv_add_new_candidate_discovery_turn (NiceAgent *agent,
agent
->
compatibility
==
NICE_COMPATIBILITY_OC2007R2
))
agent
->
compatibility
==
NICE_COMPATIBILITY_OC2007R2
))
reliable_tcp
=
TRUE
;
reliable_tcp
=
TRUE
;
/* Ignore tcp candidates if we disabled ice-tcp */
/* Ignore reliable tcp candidates if we disabled ice-tcp */
if
((
agent
->
use_ice_udp
==
FALSE
&&
reliable_tcp
==
FALSE
)
||
if
(
agent
->
use_ice_tcp
==
FALSE
&&
reliable_tcp
==
TRUE
)
{
(
agent
->
use_ice_tcp
==
FALSE
&&
reliable_tcp
==
TRUE
))
{
goto
skip
;
}
if
(
turn_tcp
==
FALSE
)
{
goto
skip
;
goto
skip
;
}
}
...
...
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