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
3e25df77
Commit
3e25df77
authored
Jun 12, 2019
by
Fabrice Bellet
Committed by
Olivier Crête
Jul 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: make oc2007r2 mode more rfc5245 friendly
parent
43f3d70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
agent/conncheck.c
agent/conncheck.c
+2
-2
No files found.
agent/conncheck.c
View file @
3e25df77
...
...
@@ -2163,7 +2163,7 @@ int conn_check_add_for_candidate (NiceAgent *agent, guint stream_id, NiceCompone
/* note: according to 7.2.1.3, "Learning Peer Reflexive Candidates",
* the agent does not pair this candidate with any local candidates.
*/
if
(
agent
->
compatibility
==
NICE_COMPATIBILITY_RFC5245
&&
if
(
NICE_AGENT_IS_COMPATIBLE_WITH_RFC5245_OR_OC2007R2
(
agent
)
&&
remote
->
type
==
NICE_CANDIDATE_TYPE_PEER_REFLEXIVE
)
{
return
added
;
...
...
@@ -2209,7 +2209,7 @@ int conn_check_add_for_local_candidate (NiceAgent *agent, guint stream_id, NiceC
* with other remote candidates
*/
if
(
agent
->
compatibility
==
NICE_COMPATIBILITY_RFC5245
&&
if
(
NICE_AGENT_IS_COMPATIBLE_WITH_RFC5245_OR_OC2007R2
(
agent
)
&&
local
->
type
==
NICE_CANDIDATE_TYPE_PEER_REFLEXIVE
)
{
return
added
;
...
...
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