Changeset 5427 for pjproject


Ignore:
Timestamp:
Aug 25, 2016 1:32:42 AM (8 years ago)
Author:
ming
Message:

Fixed #1957: ICE stagnation when connectivity check fails

File:
1 edited

Legend:

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

    r5339 r5427  
    18931893            status = perform_check(ice, clist, i, ice->is_nominating); 
    18941894            if (status != PJ_SUCCESS) { 
    1895                 pj_grp_lock_release(ice->grp_lock); 
    1896                 pj_log_pop_indent(); 
    1897                 return status; 
     1895                check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_FAILED, 
     1896                                status); 
     1897                on_check_complete(ice, check); 
    18981898            } 
    18991899 
     
    19131913                status = perform_check(ice, clist, i, ice->is_nominating); 
    19141914                if (status != PJ_SUCCESS) { 
    1915                     pj_grp_lock_release(ice->grp_lock); 
    1916                     pj_log_pop_indent(); 
    1917                     return status; 
     1915                    check_set_state(ice, check, 
     1916                                    PJ_ICE_SESS_CHECK_STATE_FAILED, status); 
     1917                    on_check_complete(ice, check); 
    19181918                } 
    19191919 
Note: See TracChangeset for help on using the changeset viewer.