Only a single host candidate being added. No srflx, relay, etc.

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

 



Thanks, that resolved it.

On Oct 8, 2009, at 8:33 AM, Benny Prijono wrote:

> On Thu, Oct 8, 2009 at 12:21 PM, twok48bit <twok48bit at me.com> wrote:
>> Hi,
>> I'm abstracting the pjnath library via c++. Currently the only  
>> candidate I
>> get is a single host candidate. The underlying logic looks as-if it  
>> should
>> add ALL candidates. The server reflexive candidate is never added,  
>> see gdb
>> log below.
>
> That's because you call pj_ice_strans_init_ice() before ICE candidate
> gathering process is complete (i.e. before PJ_ICE_STRANS_OP_INIT
> callback is called). In this case, ICE session will be created with
> whatever candidates that are ready, in this case the host candidates
> only.
>
> -benny
>
> _______________________________________________
> 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




[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