Commit 6efd9ab5 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

do not assign the same foundation for candidates from different streams

parent 177db35e
......@@ -289,6 +289,7 @@ static void priv_assign_foundation (NiceAgent *agent, NiceCandidate *candidate)
nice_address_get_port (&candidate->base_addr));
if (candidate->type == n->type &&
candidate->stream_id == n->stream_id &&
nice_address_equal (&candidate->base_addr, &temp)) {
/* note: currently only one STUN/TURN server per stream at a
* time is supported, so there is no need to check
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