Changeset 3999 for pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c
- Timestamp:
- Mar 30, 2012 7:10:13 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
-
pjproject/trunk/pjmedia/src/pjmedia/transport_ice.c
r3872 r3999 420 420 * new ufrag/pwd pair. 421 421 */ 422 if (!restart_session && pj_ice_strans_sess_is_complete(tp_ice->ice_st)) { 422 if (!restart_session && pj_ice_strans_sess_is_complete(tp_ice->ice_st) && 423 pj_ice_strans_get_state(tp_ice->ice_st) != PJ_ICE_STRANS_STATE_FAILED) 424 { 423 425 const pj_ice_sess_check *check; 424 426 char *attr_buf; … … 550 552 } 551 553 552 } else if (pj_ice_strans_has_sess(tp_ice->ice_st)) { 554 } else if (pj_ice_strans_has_sess(tp_ice->ice_st) && 555 pj_ice_strans_get_state(tp_ice->ice_st) != 556 PJ_ICE_STRANS_STATE_FAILED) 557 { 553 558 /* Encode all candidates to SDP media */ 554 559 char *attr_buf;
Note: See TracChangeset
for help on using the changeset viewer.