Ignore:
Timestamp:
Mar 27, 2007 11:29:27 PM (17 years ago)
Author:
bennylp
Message:

Created doxygen documentation for PJNATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice.c

    r1106 r1110  
    534534    } 
    535535 
    536     /* If there's no relayed candidate, find server reflexive candidate */ 
     536    /* If there's no relayed candidate, find reflexive candidate */ 
    537537    for (i=0; i<ice->lcand_cnt; ++i) { 
    538538        pj_ice_cand *lcand = &ice->lcand[i]; 
    539539        if (lcand->comp_id==comp_id && 
    540             lcand->type == PJ_ICE_CAND_TYPE_SRFLX)  
     540            (lcand->type == PJ_ICE_CAND_TYPE_SRFLX || 
     541             lcand->type == PJ_ICE_CAND_TYPE_PRFLX))  
    541542        { 
    542543            *cand_id = GET_LCAND_ID(lcand); 
     
    798799 
    799800        /* Call callback */ 
    800         (*ice->cb.on_ice_complete)(ice, status); 
     801        if (ice->cb.on_ice_complete) { 
     802            (*ice->cb.on_ice_complete)(ice, status); 
     803        } 
    801804    } 
    802805} 
Note: See TracChangeset for help on using the changeset viewer.