Changeset 4949


Ignore:
Timestamp:
Oct 17, 2014 12:48:33 AM (6 years ago)
Author:
ming
Message:

Fixed #1798: Crash upon receiving re-INVITE to restart ICE after failed STUN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c

    r4613 r4949  
    573573 
    574574    } else if (pj_ice_strans_has_sess(tp_ice->ice_st) && 
    575                pj_ice_strans_get_state(tp_ice->ice_st) != 
    576                         PJ_ICE_STRANS_STATE_FAILED) 
     575               (restart_session || pj_ice_strans_get_state(tp_ice->ice_st) != 
     576                PJ_ICE_STRANS_STATE_FAILED)) 
    577577    { 
    578578        /* Encode all candidates to SDP media */ 
Note: See TracChangeset for help on using the changeset viewer.