Commit c4099bbd authored by Youness Alaoui's avatar Youness Alaoui

Receiving a message from the turn server should set the udp_socket to the...

Receiving a message from the turn server should set the udp_socket to the relayed one so answers can be wrapped too
parent ec0a778a
...@@ -1337,6 +1337,7 @@ _nice_agent_recv ( ...@@ -1337,6 +1337,7 @@ _nice_agent_recv (
NiceCandidate *cand = i->data; NiceCandidate *cand = i->data;
if (cand->type == NICE_CANDIDATE_TYPE_RELAYED) { if (cand->type == NICE_CANDIDATE_TYPE_RELAYED) {
len = nice_udp_turn_socket_parse_recv (cand->sockptr, &from, len, buf, &from, buf, len); len = nice_udp_turn_socket_parse_recv (cand->sockptr, &from, len, buf, &from, buf, len);
udp_socket = cand->sockptr;
} }
} }
} }
......
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