diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-03-28 15:49:48 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-03-28 15:49:48 +0000 |
commit | b461f076273b3bf78c5f889515cc7541e9d3b701 (patch) | |
tree | 1eb57d0d03bc90a07b246e417b0b099cc78ca4ca /pjsip/src/pjsua-lib/pjsua_media.c | |
parent | 047dad8b9f0e7ef5c92ce4e750bcfbb20d4c4796 (diff) |
Updated projects and Makefiles with the new pjnath library
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_media.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_media.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_media.c b/pjsip/src/pjsua-lib/pjsua_media.c index 2e0af481..eefcb2d3 100644 --- a/pjsip/src/pjsua-lib/pjsua_media.c +++ b/pjsip/src/pjsua-lib/pjsua_media.c @@ -560,7 +560,7 @@ static pj_status_t create_ice_media_transports(pjsua_transport_config *cfg) /* Create each media transport */ for (i=0; i<pjsua_var.ua_cfg.max_calls; ++i) { - pj_ice_st_comp comp; + pj_ice_strans_comp comp; int next_port; status = pjmedia_ice_create(pjsua_var.med_endpt, NULL, 2, @@ -672,11 +672,11 @@ pj_status_t pjsua_media_channel_init(pjsua_call_id call_id, pjsua_call *call = &pjsua_var.calls[call_id]; if (pjsua_var.media_cfg.enable_ice) { - pj_ice_role ice_role; + pj_ice_sess_role ice_role; pj_status_t status; - ice_role = (role==PJSIP_ROLE_UAC ? PJ_ICE_ROLE_CONTROLLING : - PJ_ICE_ROLE_CONTROLLED); + ice_role = (role==PJSIP_ROLE_UAC ? PJ_ICE_SESS_ROLE_CONTROLLING : + PJ_ICE_SESS_ROLE_CONTROLLED); /* Restart ICE */ pjmedia_ice_stop_ice(call->med_tp); |