Using pjsip TURN code on Symbian

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

 



Hello,

Do we need worker threads for the Symbian version? In the
ioqueue_symbian.cpp class, when data is received, will the RunL method
will the automatically be called, which in turn will call the callback
methods? I'm not sure, because I have not been able to get it running
properly yet.

michael




2008/12/9 Pai Peng <sipaipv6 at gmail.com>:
> hello,
>
>
> I can create 'create_relay()' function, but it looks like there is no worker
> thread for socket packet receiving.
>
>
> How can i receive STUN packets??
>
>
> Thanks
>
> Pai
>
> CHECK( pj_thread_create(g.pool, "stun", &worker_thread, NULL, 0, 0,
> &g.thread) );
>
>
> in os_core_symbian.cpp:
>
> PJ_DEF(pj_status_t) pj_thread_create( pj_pool_t *pool,
>                       const char *thread_name,
>                       pj_thread_proc *proc,
>                       void *arg,
>                       pj_size_t stack_size,
>                       unsigned flags,
>                       pj_thread_t **ptr_thread)
> {
>     PJ_UNUSED_ARG(pool);
>     PJ_UNUSED_ARG(thread_name);
>     PJ_UNUSED_ARG(proc);
>     PJ_UNUSED_ARG(arg);
>     PJ_UNUSED_ARG(stack_size);
>     PJ_UNUSED_ARG(flags);
>     PJ_UNUSED_ARG(ptr_thread);
>
>     /* Sorry mate, we don't support threading */
>     return PJ_ENOTSUP;
> }
>
> _______________________________________________
> 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