- Timestamp:
- Feb 15, 2013 3:57:31 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport_ice.h
r3872 r4350 69 69 typedef struct pjmedia_ice_transport_info 70 70 { 71 /** 72 * Specifies whether ICE is used, i.e. SDP offer and answer indicates 73 * that both parties support ICE and ICE should be used for the session. 74 */ 75 pj_bool_t active; 76 71 77 /** 72 78 * ICE sesion state. -
pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c
r4203 r4350 1544 1544 pj_bzero(ii, sizeof(*ii)); 1545 1545 1546 ii->active = tp_ice->use_ice; 1547 1546 1548 if (pj_ice_strans_has_sess(tp_ice->ice_st)) 1547 1549 ii->role = pj_ice_strans_get_role(tp_ice->ice_st); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4345 r4350 3077 3077 pjmedia_transport_info_get_spc_info( 3078 3078 &tpinfo, PJMEDIA_TRANSPORT_TYPE_ICE); 3079 if (!ice_info) 3079 3080 /* Check if ICE is active */ 3081 if (!ice_info || !ice_info->active) 3080 3082 continue; 3081 3083 3082 3084 /* Check if ICE setup not completed yet */ 3083 if (ice_info->sess_state < PJ_ICE_STRANS_STATE_RUNNING) 3085 if (ice_info->sess_state < PJ_ICE_STRANS_STATE_RUNNING) { 3084 3086 ice_complete = PJ_FALSE; 3085 3087 break;
Note: See TracChangeset
for help on using the changeset viewer.