Glad that I could contribute a bit :)<div><br></div><div>For some reason, I&#39;m not being able to clone from <a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git" target="_blank" style>http://cgit.collabora.com/git/user/kakaroto/libnice.git</a>, but only from git://<a href="http://git.collabora.co.uk/git/libnice.git">git.collabora.co.uk/git/libnice.git</a>, where the last commit was in September... <br>
<br><div class="gmail_quote">On Fri, Jan 13, 2012 at 12:29 AM, Youness Alaoui <span dir="ltr">&lt;<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok it&#39;s fixed. thanks for reporting/noticing it!<br>
The patches are in my git repository available here :<br>
<a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git/" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git/</a><br>
<br>
And here is the diff of the two patches that I needed to fix the bug :<br>
<a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git/commit/?id=32b1b90f7aef5595829c6443f0a63ab0e492c9a3" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git/commit/?id=32b1b90f7aef5595829c6443f0a63ab0e492c9a3</a><br>

<a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git/commit/?id=db2e674f516e8695adb3d302610bf6a15e5c0d70" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git/commit/?id=db2e674f516e8695adb3d302610bf6a15e5c0d70</a><br>

<span class="HOEnZb"><font color="#888888"><br>
Youness.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On 01/12/2012 04:14 PM, Youness Alaoui wrote:<br>
&gt; oh wow, first bug in a while! You&#39;re right, that&#39;s not normal and I just found<br>
&gt; the bug, it was a stupid logic error. I was only cancelling the upnp_timeout<br>
&gt; timer if there were still some pending upnp requests (was checking for the<br>
&gt; length of the list, and forgot to do == 0).<br>
&gt; I&#39;ve fixed it now but i broke some unit tests, so I&#39;m looking into what side<br>
&gt; effects that caused.<br>
&gt;<br>
&gt; On 01/12/2012 06:08 AM, Eduardo Bezerra wrote:<br>
&gt;&gt; I have a router with upnp support, but I got the following output when trying<br>
&gt;&gt; some code that uses libnice. It seems to successfully create a port forwarding<br>
&gt;&gt; rule with upnp, but then it says &quot;timeout&quot;. Is this a problem? I attached the<br>
&gt;&gt; code so that you can see it if you want (I borrowed it from a previous poster to<br>
&gt;&gt; the list).<br>
&gt;&gt;<br>
&gt;&gt; (...)<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0: Adding UPnP port<br>
&gt;&gt; <a href="http://192.168.1.117:54321" target="_blank">192.168.1.117:54321</a> &lt;<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>&gt;<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Adding new srv-rflx candidate<br>
&gt;&gt; discovery 0x7fdfbfa35010<br>
&gt;&gt;<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery tick #1 with list<br>
&gt;&gt; 0x1faef40 (1)<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery - scheduling cand<br>
&gt;&gt; type 1 addr 127.0.0.1.<br>
&gt;&gt;<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : stream 1 component 1<br>
&gt;&gt; STATE-CHANGE 0 -&gt; 1.<br>
&gt;&gt; cb_component_state_changed<br>
&gt;&gt;<br>
&gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;&gt; from wrong context!<br>
&gt;&gt;<br>
&gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;&gt; from wrong context!<br>
&gt;&gt;<br>
&gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;&gt; from wrong context!<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Successfully mapped<br>
&gt;&gt; <a href="http://192.168.1.117:54321" target="_blank">192.168.1.117:54321</a> &lt;<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>&gt; to <a href="http://95.127.127.155:54321" target="_blank">95.127.127.155:54321</a><br>

&gt;&gt; &lt;<a href="http://95.127.127.155:54321" target="_blank">http://95.127.127.155:54321</a>&gt;<br>
&gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : UPnP port mapping timed out<br>
&gt;&gt; (...)<br>
&gt;&gt;<br>
&gt;&gt; Eduardo<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Nice mailing list<br>
&gt;&gt; <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a><br>
&gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Nice mailing list<br>
&gt; <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
<br>
<br>
</div></div><br>_______________________________________________<br>
Nice mailing list<br>
<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
<br></blockquote></div><br></div>