Ignore:
Timestamp:
Feb 15, 2013 3:57:31 AM (11 years ago)
Author:
nanang
Message:

Re #1242: Fixed ICE nego completion check as it always returns FALSE when peer doesn't support ICE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4345 r4350  
    30773077                   pjmedia_transport_info_get_spc_info( 
    30783078                                        &tpinfo, PJMEDIA_TRANSPORT_TYPE_ICE); 
    3079         if (!ice_info) 
     3079 
     3080        /* Check if ICE is active */ 
     3081        if (!ice_info || !ice_info->active) 
    30803082            continue; 
    30813083 
    30823084        /* 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) { 
    30843086            ice_complete = PJ_FALSE; 
    30853087            break; 
Note: See TracChangeset for help on using the changeset viewer.