Commit 93330f1f authored by Olivier Crête's avatar Olivier Crête

agent: Fix udp-turn-over-tcp

The TCP-based turns don't come pre-parsed unlike
the UDP variants!
parent 7f6ddac8
...@@ -3618,8 +3618,7 @@ agent_recv_message_unlocked ( ...@@ -3618,8 +3618,7 @@ agent_recv_message_unlocked (
nice_address_get_port (message->from), message->length); nice_address_get_port (message->from), message->length);
} }
if (nicesock->type == NICE_SOCKET_TYPE_UDP_TURN || if (nicesock->type == NICE_SOCKET_TYPE_UDP_TURN)
nicesock->type == NICE_SOCKET_TYPE_UDP_TURN_OVER_TCP)
is_turn = TRUE; is_turn = TRUE;
if (!is_turn && component->turn_candidate && if (!is_turn && component->turn_candidate &&
......
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