- Timestamp:
- Dec 9, 2011 7:19:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjmedia/src/pjmedia/transport_ice.c
r3745 r3906 403 403 * new ufrag/pwd pair. 404 404 */ 405 if (!restart_session && pj_ice_strans_sess_is_complete(tp_ice->ice_st)) { 405 if (!restart_session && pj_ice_strans_sess_is_complete(tp_ice->ice_st) && 406 pj_ice_strans_get_state(tp_ice->ice_st) != PJ_ICE_STRANS_STATE_FAILED) 407 { 406 408 const pj_ice_sess_check *check; 407 409 char *attr_buf; … … 533 535 } 534 536 535 } else if (pj_ice_strans_has_sess(tp_ice->ice_st)) { 537 } else if (pj_ice_strans_has_sess(tp_ice->ice_st) && 538 pj_ice_strans_get_state(tp_ice->ice_st) != 539 PJ_ICE_STRANS_STATE_FAILED) 540 { 536 541 /* Encode all candidates to SDP media */ 537 542 char *attr_buf;
Note: See TracChangeset
for help on using the changeset viewer.