nice_agent_attach_recv with NULL callback results in endless loop
Submitted by Philip Withnall
Assigned to Philip Withnall
(Migrated from Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89841)
nice_agent_attach_recv(agent, stream_id, component, context, NULL, data) results in libnice repeatedly and endlessly entering component_io_cb (in a busy loop).
I suspect this is due to the fact that if neither a callback is registered nor recv_messages is pending, messages are never read from the socket, and somehow the notification keeps coming again and again (why?).