projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35a64b
)
component: Also accept TCP from udp-turn socket
author
Olivier Crête
<olivier.crete@collabora.com>
Sun, 21 Oct 2018 09:18:00 +0000
(11:18 +0200)
committer
Olivier Crête
<olivier.crete@collabora.com>
Sun, 21 Oct 2018 09:18:00 +0000
(11:18 +0200)
agent/component.c
patch
|
blob
|
history
diff --git
a/agent/component.c
b/agent/component.c
index
3794c3d
..
84491e3
100644
(file)
--- a/
agent/component.c
+++ b/
agent/component.c
@@
-1506,7
+1506,8
@@
nice_component_verify_remote_candidate (NiceComponent *component,
for (item = component->valid_candidates; item; item = item->next) {
NiceCandidate *cand = item->data;
- if (((nicesock->type == NICE_SOCKET_TYPE_TCP_BSD &&
+ if ((((nicesock->type == NICE_SOCKET_TYPE_TCP_BSD ||
+ nicesock->type == NICE_SOCKET_TYPE_UDP_TURN) &&
(cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE ||
cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_PASSIVE ||
cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_SO)) ||