Changeset 3999 for pjproject/trunk/pjnath/src/pjnath/ice_strans.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/pjnath/src/pjnath/ice_strans.c
r3841 r3999 1181 1181 /* If ICE is available, send data with ICE, otherwise send with the 1182 1182 * default candidate selected during initialization. 1183 * 1184 * https://trac.pjsip.org/repos/ticket/1416: 1185 * Once ICE has failed, also send data with the default candidate. 1183 1186 */ 1184 if (ice_st->ice ) {1187 if (ice_st->ice && ice_st->state < PJ_ICE_STRANS_STATE_FAILED) { 1185 1188 if (comp->turn_sock) { 1186 1189 pj_turn_sock_lock(comp->turn_sock); … … 1407 1410 1408 1411 comp = (pj_ice_strans_comp*) pj_stun_sock_get_user_data(stun_sock); 1412 if (comp == NULL) { 1413 /* We have disassociated ourselves from the STUN socket */ 1414 return PJ_FALSE; 1415 } 1416 1409 1417 ice_st = comp->ice_st; 1410 1418
Note: See TracChangeset
for help on using the changeset viewer.