summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-10-08 19:36:01 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-10-09 16:26:08 -0400
commit25c14940aba000d1c5f88ec32b31b108163de3be (patch)
tree4916a950e1ee7f075c13c7093c69cfd55531ce9f
parent903ae62963bc98e711ee9955254a90784cd99e8e (diff)
agent: Re-emit gathering done after a new relay has been set
If the stream was ever gathering and a new relay has been set, then re-emit the candidate=gathering-done signal
-rw-r--r--agent/agent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/agent.c b/agent/agent.c
index d17f3d2..91ea10b 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -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;