Commit 4a3f9d64 authored by Youness Alaoui's avatar Youness Alaoui

set gathering to FALSE before signaling the candidate-gathering-done, so we...

set gathering to FALSE before signaling the candidate-gathering-done, so we can set_remote_candidates in the signal handler
parent beaedc41
...@@ -637,8 +637,8 @@ void agent_signal_gathering_done (NiceAgent *agent) ...@@ -637,8 +637,8 @@ void agent_signal_gathering_done (NiceAgent *agent)
for (i = agent->streams; i; i = i->next) { for (i = agent->streams; i; i = i->next) {
Stream *stream = i->data; Stream *stream = i->data;
if (stream->gathering) { if (stream->gathering) {
g_signal_emit (agent, signals[SIGNAL_CANDIDATE_GATHERING_DONE], 0, stream->id);
stream->gathering = FALSE; stream->gathering = FALSE;
g_signal_emit (agent, signals[SIGNAL_CANDIDATE_GATHERING_DONE], 0, stream->id);
} }
} }
} }
......
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