Commit 5d2995c2 authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête

candidate: fix local preferences of udp candidates

udp candidates failed to call nice_candidate_ip_local_preferences()
and were all given the same local preference priority.
parent fc2003ed
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment