Question about ICE_demo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hung,

Just follow these instructions: http://www.pjsip.org/using.htm#svn

Good luck!

2009/4/23 Hung Mark <supersiemsn at hotmail.com>

>  Dear Perry:
>
> Thank a lot for your answer, and sorry for I don't svn link,
>
> I can't download trunk from
> http://trac.pjsip.org/repos/export/2642/pjproject/trunk/
>
> or not this link?
>
>    Thanks for helping a newbie
> ------------------------------
> Date: Thu, 23 Apr 2009 11:06:41 +0100
> From: perry@xxxxxxxxx
> To: pjsip at lists.pjsip.org
> Subject: Re: Question about ICE_demo
>
>
> Hi Hung,
>
> You're right, ice_demo app will be available in 1.2, or you can get it now
> from the svn trunk and help test it :)
>
> 2009/4/23 Hung Mark <supersiemsn at hotmail.com>
>
> Sorry all:
>
> This icedemo.c is not in v 1.1, i copy this file from
> http://www.pjsip.org/pjnath/docs/html/ice_demo_sample.htm,
>
> so ask if later version is stable for icedemo.
>
> Thanks for helping a newbie
>
> ------------------------------
> From: supersiemsn@xxxxxxxxxxx
> To: pjsip at lists.pjsip.org
> Date: Thu, 23 Apr 2009 09:45:56 +0000
> Subject: Question about ICE_demo
>
>
> Dear Benny:
>
>    I am looking to ICE demo sample,
> http://www.pjsip.org/pjnath/docs/html/ice_demo_sample.htm
>
> after i type "c" create instance and "i o" Initialize ICE session, it crash
> when type "s" Display local ICE info,  and i trace it crash at
>
> PJ_DEF(void*) pj_sockaddr_get_addr(const pj_sockaddr_t *addr)
> {
>     const pj_sockaddr *a = (const pj_sockaddr*)addr;
>     PJ_ASSERT_RETURN(a->addr.sa_family == PJ_AF_INET ||
>        a->addr.sa_family == PJ_AF_INET6, NULL);
>     if (a->addr.sa_family == PJ_AF_INET6)
>  return (void*) &a->ipv6.sin6_addr;
>     else
>  return (void*) &a->ipv4.sin_addr;
> }
>
> Maybe i type wrong argument or it need latter version after *
> pjproject-1.1?*
> **
> and next is *my console log*
>
>
> M:\project\Enterprise\pjproject\pjproject-1.1_ICE_DEMO_Test\pjsip-apps\bin\sampl
> es>icedemo.exe -n 192.168.8.1 -s stun.ekiga.net -t numb.viagenie.ca -u
> xxxxx
> -p xxxxx
>  17:27:43.640 os_core_win32.  pjlib 1.1 for win32 initialized
>  17:27:43.640          pjlib  select() I/O Queue created (003E58F4)
> +----------------------------------------------------------------------+
> |                    M E N U                                           |
> +---+------------------------------------------------------------------+
> | c | create           Create the instance                             |
> | d | destroy          Destroy the instance                            |
> | i | init o|a         Initialize ICE session as offerer or answerer   |
> | e | stop             End/stop ICE session                            |
> | s | show             Display local ICE info                          |
> | r | remote           Input remote ICE info                           |
> | b | start            Begin ICE negotiation                           |
> | x | send <compid> .. Send data to remote                             |
> +---+------------------------------------------------------------------+
> | h |  help            * Help! *                                       |
> | q |  quit            Quit                                            |
> +----------------------------------------------------------------------+
> Input: c
>  17:27:48.171        icedemo  Creating ICE stream transport with 1
> component(s)
>  17:27:48.171        icedemo  Comp 1: srflx candidate starts Binding
> discovery
>  17:27:48.171 _stun._udp.stu  Starting async DNS SRV query_job:
> target=_stun._ud
> p.stun.ekiga.net:3478
>  17:27:48.171       resolver  Nameserver 192.168.8.1:53 state changed
> Active -->
>  Probing
>  17:27:48.171       resolver  Transmitting 43 bytes to NS 0 (
> 192.168.8.1:53): DN
> S SRV query for _stun._udp.stun.ekiga.net
>  17:27:48.171        icedemo  Comp 1: host candidate 192.168.8.245:2272added
>  17:27:48.171 udprel003ED510  TURN client session created
>  17:27:48.171 udprel003ED510  Resolving _turn._udp.numb.viagenie.ca with
> DNS SRV
>  17:27:48.171 udprel003ED510  State changed Null --> Resolving
>  17:27:48.171        icedemo  TURN client state changed Null --> Resolving
>  17:27:48.171 _turn._udp.num  Starting async DNS SRV query_job:
> target=_turn._ud
> p.numb.viagenie.ca:0
>  17:27:48.171       resolver  Transmitting 45 bytes to NS 0 (
> 192.168.8.1:53): DN
> S SRV query for _turn._udp.numb.viagenie.ca
>  17:27:48.171        icedemo  Comp 1: TURN relay candidate waiting for
> allocatio
> n
>  17:27:48.171        icedemo  ICE stream transport created
> +----------------------------------------------------------------------+
> |                    M E N U                                           |
> +---+------------------------------------------------------------------+
> | c | create           Create the instance                             |
> | d | destroy          Destroy the instance                            |
> | i | init o|a         Initialize ICE session as offerer or answerer   |
> | e | stop             End/stop ICE session                            |
> | s | show             Display local ICE info                          |
> | r | remote           Input remote ICE info                           |
> | b | start            Begin ICE negotiation                           |
> | x | send <compid> .. Send data to remote                             |
> +---+------------------------------------------------------------------+
> | h |  help            * Help! *                                       |
> | q |  quit            Quit                                            |
> +----------------------------------------------------------------------+
> Input: i o 17:27:50.171       resolver  Re-transmitting 43 bytes to NS 0
> (192.16
> 8.8.1:53): DNS SRV query for _stun._udp.stun.ekiga.net
>  17:27:50.171       resolver  Re-transmitting 45 bytes to NS 0 (
> 192.168.8.1:53):
>  DNS SRV query for _turn._udp.numb.viagenie.ca
>  17:27:50.828        icedemo  ICE session created, comp_cnt=1, role is
> Controlli
> ng agent
>  17:27:50.828        icedemo  Disabling STUN Indication logging for
> component 1
>  17:27:50.828        icedemo  Candidate 0 of comp 0 is not added (pending)
>  17:27:50.828        icedemo  Candidate 0 added: comp_id=1, type=host,
> foundatio
> n=H, addr=192.168.8.245:2272, base=192.168.8.245:2272, prio=0x27 (39)
>  17:27:50.828        icedemo  Candidate 2 of comp 0 is not added (pending)
> +----------------------------------------------------------------------+
> |                    M E N U                                           |
> +---+------------------------------------------------------------------+
> | c | create           Create the instance                             |
> | d | destroy          Destroy the instance                            |
> | i | init o|a         Initialize ICE session as offerer or answerer   |
> | e | stop             End/stop ICE session                            |
> | s | show             Display local ICE info                          |
> | r | remote           Input remote ICE info                           |
> | b | start            Begin ICE negotiation                           |
> | x | send <compid> .. Send data to remote                             |
> +---+------------------------------------------------------------------+
> | h |  help            * Help! *                                       |
> | q |  quit            Quit                                            |
> +----------------------------------------------------------------------+
> Input:  17:27:52.171       resolver  Re-transmitting 43 bytes to NS 0
> (192.168.8
> .1:53): DNS SRV query for _stun._udp.stun.ekiga.net
>  17:27:52.171       resolver  Re-transmitting 45 bytes to NS 0 (
> 192.168.8.1:53):
>  DNS SRV query for _turn._udp.numb.viagenie.ca
> s 17:27:54.171       resolver  Re-transmitting 43 bytes to NS 0 (
> 192.168.8.1:53)
> : DNS SRV query for _stun._udp.stun.ekiga.net
>  17:27:54.171       resolver  Re-transmitting 45 bytes to NS 0 (
> 192.168.8.1:53):
>  DNS SRV query for _turn._udp.numb.viagenie.ca
> General info
> ---------------
> Component count    : 1
> Status             : session ready
> Negotiated comp_cnt: 1
> Role               : controlling
> Assertion failed: a->addr.sa_family == PJ_AF_INET || a->addr.sa_family ==
> PJ_AF_
> INET6, file
> m:\project\enterprise\pjproject\pjproject-1.1\pjlib\src\pj\sock_comm
> on.c, line 298
>  17:27:56.171       resolver  Re-transmitting 43 bytes to NS 0 (
> 192.168.8.1:53):
>  DNS SRV query for _stun._udp.stun.ekiga.net
>  17:27:56.171       resolver  Re-transmitting 45 bytes to NS 0 (
> 192.168.8.1:53):
>  DNS SRV query for _turn._udp.numb.viagenie.ca
>
> M:\project\Enterprise\pjproject\pjproject-1.1_ICE_DEMO_Test\pjsip-apps\bin\sampl
> es>
>
>
> Thanks for helping a newbie ;-)
>
>
> ------------------------------
> 5 GB ???? ????????????????? ? ???? Windows Live Hotmail<http://mail.live.com/>
>  ------------------------------
> ??? Windows Live Messenger ? Hotmail?????????????? Windows Live for Mobile<http://3c.msn.com.tw/mobile/>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
>
>
> --
> Perry Ismangil
>
>
> ------------------------------
> ??? Windows Live Messenger ? Hotmail?????????????? Windows Live for Mobile<http://3c.msn.com.tw/mobile/>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>


-- 
Perry Ismangil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090423/b954cbba/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux