agent: Re-emit gathering done after a new relay has been set
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 8 Oct 2014 23:36:01 +0000 (19:36 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 9 Oct 2014 20:26:08 +0000 (16:26 -0400)
If the stream was ever gathering and a new relay has been set,
then re-emit the candidate=gathering-done signal

agent/agent.c

index d17f3d2..91ea10b 100644 (file)
@@ -2420,6 +2420,8 @@ nice_agent_set_relay_info(NiceAgent *agent,
  if (stream->gathering_started) {
     GSList *i;
 
+    stream->gathering = TRUE;
+
     for (i = component->local_candidates; i; i = i->next) {
       NiceCandidate *candidate = i->data;