<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: 'NiceAgent' has no member named 'upnp_mapping'</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"><<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">
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 'clone URL' 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>
> Glad that I could contribute a bit :)<br>
><br>
> For some reason, I'm not being able to clone<br>
> 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>
> from git://<a href="http://git.collabora.co.uk/git/libnice.git" target="_blank">git.collabora.co.uk/git/libnice.git</a><br>
</div>> <<a href="http://git.collabora.co.uk/git/libnice.git" target="_blank">http://git.collabora.co.uk/git/libnice.git</a>>, where the last commit was in<br>
<div class="im">> September...<br>
><br>
> On Fri, Jan 13, 2012 at 12:29 AM, Youness Alaoui <<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:youness.alaoui@collabora.co.uk">youness.alaoui@collabora.co.uk</a>>> wrote:<br>
><br>
> 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>
><br>
> Youness.<br>
><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<br>
> 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<br>
> poster to<br>
> >> the list).<br>
> >><br>
> >> (...)<br>
> >> (process:14384): libnice-DEBUG: Agent 0x1fbadf0: Adding UPnP port<br>
</div></div>> >> <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>> <<a href="http://192.168.1.117:54321" target="_blank">http://192.168.1.117:54321</a>><br>
<div><div class="h5">> >> (process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Adding new srv-rflx<br>
> 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>><br>
> <<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>
> >> <<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>
</div></div>> >> <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> <mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>><br>
<div class="im">> >> <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>
</div>> > <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> <mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>><br>
<div class="im">> > <a href="http://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/nice</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Nice mailing list<br>
</div>> <a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a> <mailto:<a href="mailto:Nice@lists.freedesktop.org">Nice@lists.freedesktop.org</a>><br>
<div class="HOEnZb"><div class="h5">> <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>