[libnice] "candidate-gathering-done" is never fired with STUN

ND spam_me_please at gmx.net
Thu Oct 30 09:13:10 PDT 2014


Ah, I see. I was using the online basic usage example of NiceAgent (link 
<http://nice.freedesktop.org/libnice/NiceAgent.html>) as a reference. 
Maybe it should be updated to show that a main loop IS required? I 
assumed it was optional because there NULL is passed in.

Regards
~


Am 30.10.2014 09:48, schrieb Philip Withnall:
> On Wed, 2014-10-29 at 15:15 +0100, ND wrote:
>> I try to use libnice as a callable object, so my agent has no GMainLoop
>> and uses a mutex to wait for the candidate-gathering-done signal. As it
>> never comes my application is stuck :/ See the relevant code below:
> That’s your problem. libnice *requires* a GMainLoop to run, otherwise
> none of its timers will fire, which are a core part of the ICE process.
>
> Philip



---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20141030/1dc1a29a/attachment.html>


More information about the nice mailing list