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
b5593847
Commit
b5593847
authored
May 31, 2016
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "WIP"
This reverts commit
01519677
.
parent
01519677
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
agent/agent.c
agent/agent.c
+1
-4
No files found.
agent/agent.c
View file @
b5593847
...
@@ -3622,7 +3622,6 @@ agent_recv_message_unlocked (
...
@@ -3622,7 +3622,6 @@ agent_recv_message_unlocked (
is_turn
=
TRUE
;
is_turn
=
TRUE
;
if
(
!
is_turn
&&
component
->
turn_candidate
&&
if
(
!
is_turn
&&
component
->
turn_candidate
&&
component
->
turn_candidate
->
turn
->
type
==
NICE_RELAY_TYPE_TURN_UDP
&&
nice_address_equal
(
message
->
from
,
nice_address_equal
(
message
->
from
,
&
component
->
turn_candidate
->
turn
->
server
))
{
&
component
->
turn_candidate
->
turn
->
server
))
{
is_turn
=
TRUE
;
is_turn
=
TRUE
;
...
@@ -3634,8 +3633,7 @@ agent_recv_message_unlocked (
...
@@ -3634,8 +3633,7 @@ agent_recv_message_unlocked (
TurnServer
*
turn
=
item
->
data
;
TurnServer
*
turn
=
item
->
data
;
GSList
*
i
=
NULL
;
GSList
*
i
=
NULL
;
if
(
turn
->
type
!=
NICE_RELAY_TYPE_TURN_UDP
||
if
(
!
nice_address_equal
(
message
->
from
,
&
turn
->
server
))
!
nice_address_equal
(
message
->
from
,
&
turn
->
server
))
continue
;
continue
;
nice_debug_verbose
(
"Agent %p : Packet received from TURN server candidate."
,
nice_debug_verbose
(
"Agent %p : Packet received from TURN server candidate."
,
...
@@ -3646,7 +3644,6 @@ agent_recv_message_unlocked (
...
@@ -3646,7 +3644,6 @@ agent_recv_message_unlocked (
NiceCandidate
*
cand
=
i
->
data
;
NiceCandidate
*
cand
=
i
->
data
;
if
(
cand
->
type
==
NICE_CANDIDATE_TYPE_RELAYED
&&
if
(
cand
->
type
==
NICE_CANDIDATE_TYPE_RELAYED
&&
cand
->
turn
==
turn
&&
cand
->
stream_id
==
stream
->
id
)
{
cand
->
stream_id
==
stream
->
id
)
{
retval
=
nice_udp_turn_socket_parse_recv_message
(
cand
->
sockptr
,
&
nicesock
,
retval
=
nice_udp_turn_socket_parse_recv_message
(
cand
->
sockptr
,
&
nicesock
,
message
);
message
);
...
...
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