Changeset 4585


Ignore:
Timestamp:
Sep 3, 2013 3:08:32 AM (7 years ago)
Author:
nanang
Message:

Fix #1695: use pj_ice_sess_send_data() only when state is RUNNING.

File:
1 edited

Legend:

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

    r4538 r4585  
    11831183     * Once ICE has failed, also send data with the default candidate. 
    11841184     */ 
    1185     if (ice_st->ice && ice_st->state < PJ_ICE_STRANS_STATE_FAILED) { 
     1185    if (ice_st->ice && ice_st->state == PJ_ICE_STRANS_STATE_RUNNING) { 
    11861186        if (comp->turn_sock) { 
    11871187            pj_turn_sock_lock(comp->turn_sock); 
Note: See TracChangeset for help on using the changeset viewer.