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:
fc2003e
)
candidate: fix local preferences of udp candidates
author
Fabrice Bellet
<fabrice@bellet.info>
Wed, 12 Feb 2020 14:40:52 +0000
(15:40 +0100)
committer
Olivier CrĂȘte
<olivier.crete@ocrete.ca>
Mon, 2 Mar 2020 16:22:18 +0000
(16:22 +0000)
udp candidates failed to call nice_candidate_ip_local_preferences()
and were all given the same local preference priority.
agent/candidate.c
patch
|
blob
|
history
diff --git
a/agent/candidate.c
b/agent/candidate.c
index
b6e7012
..
c1f9dec
100644
(file)
--- a/
agent/candidate.c
+++ b/
agent/candidate.c
@@
-215,7
+215,7
@@
nice_candidate_ice_local_preference (const NiceCandidate *candidate)
break;
case NICE_CANDIDATE_TRANSPORT_UDP:
default:
-
return
1;
+
direction_preference =
1;
break;
}