Signals being emitted from wrong thread
@pwithnall
Submitted by Philip Withnall Assigned to Philip Withnall @pwithnall
Description
(Migrated from Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81917)
A new-local-candidate signal could be emitted from either the main thread (for local host candidates) or from the 'streaming' thread, if the nice_agent_attach_recv is attached on a different GMainContext than the main thread, and the local candidate is a server reflexive candidate.
Libnice would need to do the g_signal_emitv from the main context of the agent whenever this happens to ensure all signals are always sent from the same thread.