Changeset 4498
- Timestamp:
- Apr 24, 2013 9:52:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r4367 r4498 1350 1350 PJMEDIA_SDPNEG_EINSTATE); 1351 1351 1352 /* Reset state to done */1353 neg->state = PJMEDIA_SDP_NEG_STATE_DONE;1354 1355 1352 /* Clear temporary SDP */ 1356 1353 neg->neg_local_sdp = neg->neg_remote_sdp = NULL; 1357 1354 neg->has_remote_answer = PJ_FALSE; 1355 1356 if (neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER) { 1357 /* Increment next version number. This happens if for example 1358 * the reinvite offer is rejected by 488. If we don't increment 1359 * the version here, the next offer will have the same version. 1360 */ 1361 neg->active_local_sdp->origin.version++; 1362 } 1363 1364 /* Reset state to done */ 1365 neg->state = PJMEDIA_SDP_NEG_STATE_DONE; 1358 1366 1359 1367 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.