<div>Great! Now it worked. I tried to compile then from the newest revision and got the following error:</div><div><br></div><div>agent.c:1877: error: &#39;NiceAgent&#39; has no member named &#39;upnp_mapping&#39;</div><div>
<br></div><br clear="all">Eduardo Bezerra<br><br><a href="http://www.inf.ufrgs.br/~cebbezerra">http://www.inf.ufrgs.br/~cebbezerra</a><br>PhD Student at the Faculty of Informatics - USI<br>Doutorando em Ciência da Computação - UFRGS<br>
Mestre em Ciência da Computação - UFRGS<br>Bacharel em Ciência da Computação - UFBA<br>
<br><br><div class="gmail_quote">On Fri, Jan 13, 2012 at 7:44 PM, 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">
The URL <a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git</a> is for cgit, it<br>
has the &#39;clone URL&#39; listed at the bottom, which is :<br>
git://<a href="http://git.collabora.co.uk/git/user/kakaroto/libnice.git" target="_blank">git.collabora.co.uk/git/user/kakaroto/libnice.git</a><br>
<br>
That should work.<br>
<div class="im"><br>
On 01/13/2012 03:58 AM, Eduardo Bezerra wrote:<br>
&gt; Glad that I could contribute a bit :)<br>
&gt;<br>
&gt; For some reason, I&#39;m not being able to clone<br>
&gt; from <a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git</a>, but only<br>
&gt; from git://<a href="http://git.collabora.co.uk/git/libnice.git" target="_blank">git.collabora.co.uk/git/libnice.git</a><br>
</div>&gt; &lt;<a href="http://git.collabora.co.uk/git/libnice.git" target="_blank">http://git.collabora.co.uk/git/libnice.git</a>&gt;, where the last commit was in<br>
<div class="im">&gt; September...<br>
&gt;<br>
&gt; On Fri, Jan 13, 2012 at 12:29 AM, Youness Alaoui &lt;<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Ok it&#39;s fixed. thanks for reporting/noticing it!<br>
&gt;     The patches are in my git repository available here :<br>
&gt;     <a href="http://cgit.collabora.com/git/user/kakaroto/libnice.git/" target="_blank">http://cgit.collabora.com/git/user/kakaroto/libnice.git/</a><br>
&gt;<br>
&gt;     And here is the diff of the two patches that I needed to fix the bug :<br>
&gt;     <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>

&gt;     <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>

&gt;<br>
&gt;     Youness.<br>
&gt;<br>
&gt;     On 01/12/2012 04:14 PM, Youness Alaoui wrote:<br>
&gt;     &gt; oh wow, first bug in a while! You&#39;re right, that&#39;s not normal and I just found<br>
&gt;     &gt; the bug, it was a stupid logic error. I was only cancelling the upnp_timeout<br>
&gt;     &gt; timer if there were still some pending upnp requests (was checking for the<br>
&gt;     &gt; length of the list, and forgot to do == 0).<br>
&gt;     &gt; I&#39;ve fixed it now but i broke some unit tests, so I&#39;m looking into what side<br>
&gt;     &gt; effects that caused.<br>
&gt;     &gt;<br>
&gt;     &gt; On 01/12/2012 06:08 AM, Eduardo Bezerra wrote:<br>
&gt;     &gt;&gt; I have a router with upnp support, but I got the following output when trying<br>
&gt;     &gt;&gt; some code that uses libnice. It seems to successfully create a port<br>
&gt;     forwarding<br>
&gt;     &gt;&gt; rule with upnp, but then it says &quot;timeout&quot;. Is this a problem? I attached the<br>
&gt;     &gt;&gt; code so that you can see it if you want (I borrowed it from a previous<br>
&gt;     poster to<br>
&gt;     &gt;&gt; the list).<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (...)<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0: Adding UPnP port<br>
</div></div>&gt;     &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; &lt;<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>&gt;<br>

<div><div class="h5">&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Adding new srv-rflx<br>
&gt;     candidate<br>
&gt;     &gt;&gt; discovery 0x7fdfbfa35010<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery tick #1 with list<br>
&gt;     &gt;&gt; 0x1faef40 (1)<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery - scheduling cand<br>
&gt;     &gt;&gt; type 1 addr 127.0.0.1.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : stream 1 component 1<br>
&gt;     &gt;&gt; STATE-CHANGE 0 -&gt; 1.<br>
&gt;     &gt;&gt; cb_component_state_changed<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;     &gt;&gt; from wrong context!<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;     &gt;&gt; from wrong context!<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
&gt;     &gt;&gt; from wrong context!<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Successfully mapped<br>
&gt;     &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;     &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;     &lt;<a href="http://95.127.127.155:54321" target="_blank">http://95.127.127.155:54321</a>&gt;<br>
&gt;     &gt;&gt; &lt;<a href="http://95.127.127.155:54321" target="_blank">http://95.127.127.155:54321</a>&gt;<br>
&gt;     &gt;&gt; (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : UPnP port mapping timed out<br>
&gt;     &gt;&gt; (...)<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Eduardo<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt; Nice mailing list<br>
</div></div>&gt;     &gt;&gt; <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> &lt;mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>&gt;<br>
<div class="im">&gt;     &gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Nice mailing list<br>
</div>&gt;     &gt; <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> &lt;mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>&gt;<br>
<div class="im">&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;     Nice mailing list<br>
</div>&gt;     <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> &lt;mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&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>