Changeset 4556 for pjproject/trunk
- Timestamp:
- Jul 10, 2013 4:43:52 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
r3841 r4556 373 373 unsigned options; /**< Options in use. */ 374 374 pjmedia_sdp_neg *neg; /**< Negotiator. */ 375 unsigned sdp_neg_flags; /**< SDP neg flags. */ 375 376 pjsip_transaction *invite_tsx; /**< 1st invite tsx. */ 376 377 pjsip_tx_data *invite_req; /**< Saved invite req */ -
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r4537 r4556 1769 1769 1770 1770 /* Feed the original offer to negotiator */ 1771 status = pjmedia_sdp_neg_modify_local_offer(inv->pool_prov, 1772 inv->neg, 1773 reoffer_sdp); 1771 status = pjmedia_sdp_neg_modify_local_offer2(inv->pool_prov, 1772 inv->neg, 1773 inv->sdp_neg_flags, 1774 reoffer_sdp); 1774 1775 if (status != PJ_SUCCESS) { 1775 1776 PJ_LOG(1,(inv->obj_name, "Error updating local offer for " … … 2131 2132 status = pjsip_inv_set_sdp_answer(inv, sdp); 2132 2133 } else if (neg_state == PJMEDIA_SDP_NEG_STATE_DONE) { 2133 status = pjmedia_sdp_neg_modify_local_offer(inv->pool, 2134 inv->neg, sdp); 2134 status = pjmedia_sdp_neg_modify_local_offer2(inv->pool, inv->neg, 2135 inv->sdp_neg_flags, 2136 sdp); 2135 2137 } else 2136 2138 return PJMEDIA_SDPNEG_EINSTATE; … … 2599 2601 2600 2602 case PJMEDIA_SDP_NEG_STATE_DONE: 2601 status = pjmedia_sdp_neg_modify_local_offer (inv->pool_prov,2602 2603 2603 status = pjmedia_sdp_neg_modify_local_offer2( 2604 inv->pool_prov, inv->neg, 2605 inv->sdp_neg_flags, new_offer); 2604 2606 if (status != PJ_SUCCESS) 2605 2607 goto on_return; … … 2661 2663 * with correct SDP origin. 2662 2664 */ 2663 status = pjmedia_sdp_neg_modify_local_offer (inv->pool_prov, inv->neg,2664 offer);2665 status = pjmedia_sdp_neg_modify_local_offer2(inv->pool_prov, inv->neg, 2666 inv->sdp_neg_flags, offer); 2665 2667 if (status != PJ_SUCCESS) 2666 2668 goto on_error; … … 4359 4361 */ 4360 4362 status = 4361 pjmedia_sdp_neg_modify_local_offer (inv->pool_prov,4362 4363 4363 pjmedia_sdp_neg_modify_local_offer2( 4364 inv->pool_prov, inv->neg, 4365 inv->sdp_neg_flags, sdp); 4364 4366 4365 4367 /* Retrieve the "fixed" offer from negotiator */
Note: See TracChangeset
for help on using the changeset viewer.