It would be useful if nice_agent_gather_candidates() were split so creation of local candidates and starting to gather are separate. This would allow nice_agent_get_local_candidates() to be called inbetween, as soon as the local sockets are set up. It would also be nice if a blocking/async version of nice_agent_gather_candidates() existed, rather than having to wait on a one-time candidate-pair-selected signal.
I think creating the local candidate is synchronous in nice_agent_gather_candidates(), they should all exist once it returns.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.