Commit 87bd70ff authored by Youness Alaoui's avatar Youness Alaoui

the alternate server must be set to the component's turn_server so an inbound...

the alternate server must be set to the component's turn_server so an inbound packet can be correctly sent to the appropriate udp_socket
parent bccc0a6b
......@@ -1775,9 +1775,8 @@ static gboolean priv_map_reply_to_relay_request (NiceAgent *agent, StunMessage *
if (res == STUN_USAGE_TURN_RETURN_ALTERNATE_SERVER) {
/* handle alternate server */
NiceAddress niceaddr;
nice_address_set_from_sockaddr (&niceaddr, &alternate);
d->server = niceaddr;
nice_address_set_from_sockaddr (&d->server, &alternate);
nice_address_set_from_sockaddr (&d->component->turn_server, &alternate);
d->pending = FALSE;
} else if (res == STUN_USAGE_TURN_RETURN_RELAY_SUCCESS ||
......
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