Commit 5238086a authored by Youness Alaoui's avatar Youness Alaoui

when the turn channel is locked for gtalk or msn, send to the server address,...

when the turn channel is locked for gtalk or msn, send to the server address, not to the destination address
parent 378ad837
...@@ -605,7 +605,8 @@ socket_send ( ...@@ -605,7 +605,8 @@ socket_send (
memcpy (buffer + sizeof(uint32_t), buf, len); memcpy (buffer + sizeof(uint32_t), buf, len);
msg_len = len + sizeof(uint32_t); msg_len = len + sizeof(uint32_t);
} else { } else {
goto send; nice_socket_send (priv->base_socket, &priv->server_addr, len, buf);
return TRUE;
} }
} else { } else {
if (priv->compatibility == NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9) { if (priv->compatibility == NICE_UDP_TURN_SOCKET_COMPATIBILITY_DRAFT9) {
......
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