Commit 577dd5c7 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Use candidate->type instead of candidate->turn to check if a candidate is of type RELAY

parent ef05c9a6
......@@ -325,7 +325,7 @@ static void priv_assign_foundation (NiceAgent *agent, NiceCandidate *candidate)
candidate->stream_id == n->stream_id &&
nice_address_equal (&candidate->base_addr, &temp) &&
!(agent->compatibility == NICE_COMPATIBILITY_GOOGLE &&
n->turn != NULL)) {
/* note: currently only one STUN/TURN server per stream at a
* time is supported, so there is no need to check
* for candidates that would otherwise share the
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