Changeset 6048 for pjproject/trunk/pjnath/src/pjnath/ice_strans.c
- Timestamp:
- Jul 29, 2019 7:07:11 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r6040 r6048 1404 1404 pj_sockaddr addrs[PJ_ICE_ST_MAX_CAND]; 1405 1405 unsigned j, count=0; 1406 1407 if (!comp->turn[n].sock) 1408 continue; 1406 1409 1407 1410 /* Gather remote addresses for this component */ … … 2202 2205 2203 2206 } else if ((old_state == PJ_TURN_STATE_RESOLVING || 2204 old_state == PJ_TURN_STATE_RESOLVED) && 2205 new_state == PJ_TURN_STATE_DESTROYING) 2207 old_state == PJ_TURN_STATE_RESOLVED || 2208 old_state == PJ_TURN_STATE_ALLOCATING) && 2209 new_state >= PJ_TURN_STATE_DEALLOCATING) 2206 2210 { 2207 2211 pj_ice_sess_cand *cand = NULL; … … 2238 2242 */ 2239 2243 if (cand) { 2240 cand->status = PJ_ERESOLVE; 2244 cand->status = (old_state == PJ_TURN_STATE_RESOLVING)? 2245 PJ_ERESOLVE : PJ_EINVALIDOP; 2241 2246 PJ_LOG(4,(comp->ice_st->obj_name, 2242 "Comp %d/%d: TURN resolving (tpid=%d) failed", 2243 comp->comp_id, cand_idx, cand->transport_id)); 2247 "Comp %d/%d: TURN error (tpid=%d) during state %s", 2248 comp->comp_id, cand_idx, cand->transport_id, 2249 pj_turn_state_name(old_state))); 2244 2250 } 2245 2251
Note: See TracChangeset
for help on using the changeset viewer.