enable TURN and ICE

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

 



Hi,

I want to do p2p audio. To do that i think i need to enable TURN and ICE.
But i am confused about STUN. Do i need STUN too?

To enable STUN i used

cfg.stun_host = pj_str("stun.pjsip.org");

To enable ICE  i used

med_cfg.enable_ice = 1;

To enable TURN i used

    med_cfg.enable_turn = 1;
//    med_cfg.turn_conn_type == PJ_TURN_TP_UDP;
    med_cfg.turn_server = pj_str("ip:port");
    med_cfg.turn_auth_cred.data.static_cred.username = pj_str("uname");
    med_cfg.turn_auth_cred.data.static_cred.data = pj_str("password");

please correct me if i am wrong with those configuration..

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090829/fc1b6964/attachment.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