Commit baab2c3c authored by Misha Uliutin's avatar Misha Uliutin Committed by Olivier Crête

component: Fix set TCP selected remote candidate

https://phabricator.freedesktop.org/T7407
parent 6329509b
...@@ -482,7 +482,7 @@ nice_component_set_selected_remote_candidate (NiceComponent *component, ...@@ -482,7 +482,7 @@ nice_component_set_selected_remote_candidate (NiceComponent *component,
NiceCandidate *tmp = item->data; NiceCandidate *tmp = item->data;
guint64 tmp_prio = 0; guint64 tmp_prio = 0;
if (tmp->transport != candidate->transport || if (tmp->transport != conn_check_match_transport(candidate->transport) ||
tmp->addr.s.addr.sa_family != candidate->addr.s.addr.sa_family || tmp->addr.s.addr.sa_family != candidate->addr.s.addr.sa_family ||
tmp->type != NICE_CANDIDATE_TYPE_HOST) tmp->type != NICE_CANDIDATE_TYPE_HOST)
continue; continue;
......
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