return FALSE;
}
+ if (stream->gathering_started) {
+ /* Stream is already gathering, ignore this call */
+ agent_unlock_and_emit (agent);
+ return TRUE;
+ }
+
nice_debug ("Agent %p : In %s mode, starting candidate gathering.", agent,
agent->full_mode ? "ICE-FULL" : "ICE-LITE");
}
stream->gathering = TRUE;
-
+ stream->gathering_started = TRUE;
/* Only signal the new candidates after we're sure that the gathering was
* succesfful. But before sending gathering-done */
gchar remote_ufrag[NICE_STREAM_MAX_UFRAG];
gchar remote_password[NICE_STREAM_MAX_PWD];
gboolean gathering;
+ gboolean gathering_started;
gint tos;
};