Changeset 2795 for pjproject/branches/1.0/pjsip/src/pjsip-ua/sip_inv.c
- Timestamp:
- Jun 24, 2009 6:52:57 PM (15 years ago)
- Location:
- pjproject/branches/1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.0
- Property svn:mergeinfo changed
/pjproject/trunk merged: 2643,2665
- Property svn:mergeinfo changed
-
pjproject/branches/1.0/pjsip/src/pjsip-ua/sip_inv.c
r2394 r2795 2247 2247 } 2248 2248 2249 /* Notify negotiator about the new offer. This will fix the offer 2250 * with correct SDP origin. 2251 */ 2249 2252 status = pjmedia_sdp_neg_modify_local_offer(inv->pool,inv->neg, 2250 2253 offer); … … 2252 2255 goto on_error; 2253 2256 2257 /* Retrieve the "fixed" offer from negotiator */ 2258 pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); 2254 2259 2255 2260 /* Update Contact if required */ … … 3618 3623 (*mod_inv.cb.on_create_offer)(inv, &sdp); 3619 3624 if (sdp) { 3625 /* Notify negotiator about the new offer. This will 3626 * fix the offer with correct SDP origin. 3627 */ 3620 3628 status = pjmedia_sdp_neg_modify_local_offer(dlg->pool, 3621 3629 inv->neg, 3622 3630 sdp); 3631 3632 /* Retrieve the "fixed" offer from negotiator */ 3633 if (status==PJ_SUCCESS) { 3634 const pjmedia_sdp_session *lsdp = NULL; 3635 pjmedia_sdp_neg_get_neg_local(inv->neg, &lsdp); 3636 sdp = (pjmedia_sdp_session*)lsdp; 3637 } 3623 3638 } 3624 3639 }
Note: See TracChangeset
for help on using the changeset viewer.