[Nice] UPnP mapping timeout

Eduardo Bezerra kdubezerra at gmail.com
Thu Jan 12 03:08:27 PST 2012


I have a router with upnp support, but I got the following output when
trying some code that uses libnice. It seems to successfully create a port
forwarding rule with upnp, but then it says "timeout". Is this a problem? I
attached the code so that you can see it if you want (I borrowed it from a
previous poster to the list).

(...)
(process:14384): libnice-DEBUG: Agent 0x1fbadf0: Adding UPnP port
192.168.1.117:54321
(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Adding new srv-rflx
candidate discovery 0x7fdfbfa35010

(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery tick #1 with
list 0x1faef40 (1)
(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : discovery - scheduling
cand type 1 addr 127.0.0.1.

(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : stream 1 component 1
STATE-CHANGE 0 -> 1.
cb_component_state_changed

(process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from wrong context!

(process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from wrong context!

(process:14384): GLib-GIO-WARNING **: g_simple_async_result_complete()
called from wrong context!
(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : Successfully mapped
192.168.1.117:54321 to 95.127.127.155:54321
(process:14384): libnice-DEBUG: Agent 0x1fbadf0 : UPnP port mapping timed
out
(...)

Eduardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120112/314baf66/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.c
Type: text/x-csrc
Size: 1994 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nice/attachments/20120112/314baf66/attachment.c>


More information about the Nice mailing list