Glad that I could contribute a bit :)<div><br></div><div>For some reason, I'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"><<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok it'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>
> oh wow, first bug in a while! You're right, that's not normal and I just found<br>
> the bug, it was a stupid logic error. I was only cancelling the upnp_timeout<br>
> timer if there were still some pending upnp requests (was checking for the<br>
> length of the list, and forgot to do == 0).<br>
> I've fixed it now but i broke some unit tests, so I'm looking into what side<br>
> effects that caused.<br>
><br>
> On 01/12/2012 06:08 AM, Eduardo Bezerra wrote:<br>
>> I have a router with upnp support, but I got the following output when trying<br>
>> some code that uses libnice. It seems to successfully create a port forwarding<br>
>> rule with upnp, but then it says "timeout". Is this a problem? I attached the<br>
>> code so that you can see it if you want (I borrowed it from a previous poster to<br>
>> the list).<br>
>><br>
>> (...)<br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0: Adding UPnP port<br>
>> <a href="http://192.168.1.117:54321" target="_blank">192.168.1.117:54321</a> <<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>><br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Adding new srv-rflx candidate<br>
>> discovery 0x7fdfbfa35010<br>
>><br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery tick #1 with list<br>
>> 0x1faef40 (1)<br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery - scheduling cand<br>
>> type 1 addr 127.0.0.1.<br>
>><br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : stream 1 component 1<br>
>> STATE-CHANGE 0 -> 1.<br>
>> cb_component_state_changed<br>
>><br>
>> (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
>> from wrong context!<br>
>><br>
>> (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
>> from wrong context!<br>
>><br>
>> (process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete() called<br>
>> from wrong context!<br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Successfully mapped<br>
>> <a href="http://192.168.1.117:54321" target="_blank">192.168.1.117:54321</a> <<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>> to <a href="http://95.127.127.155:54321" target="_blank">95.127.127.155:54321</a><br>
>> <<a href="http://95.127.127.155:54321" target="_blank">http://95.127.127.155:54321</a>><br>
>> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : UPnP port mapping timed out<br>
>> (...)<br>
>><br>
>> Eduardo<br>
>><br>
>><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>
><br>
><br>
><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>
<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>