- Timestamp:
- Sep 22, 2011 4:24:56 AM (13 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h
r3764 r3767 146 146 pjsip_dialog *dlg; /**< Call dialog. */ 147 147 pjmedia_sdp_session *rem_sdp;/**< Remote SDP. */ 148 pj_pool_t *pool_prov;/**< Provisional pool. */ 148 149 union { 149 150 struct { -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3763 r3767 1502 1502 /* Note: tp may be NULL if this media line is disabled */ 1503 1503 if (call_med->tp && call_med->tp_st == PJSUA_MED_TP_IDLE) { 1504 pj_pool_t *tmp_pool = (call->inv? call->inv->pool_prov: 1505 call->async_call.dlg->pool); 1504 pj_pool_t *tmp_pool = call->async_call.pool_prov; 1505 1506 if (!tmp_pool) { 1507 tmp_pool = (call->inv? call->inv->pool_prov: 1508 call->async_call.dlg->pool); 1509 } 1506 1510 1507 1511 status = pjmedia_transport_media_create( … … 1553 1557 1554 1558 PJ_UNUSED_ARG(role); 1555 PJ_UNUSED_ARG(tmp_pool);1556 1559 1557 1560 /* … … 1651 1654 } 1652 1655 } 1656 1657 call->async_call.pool_prov = tmp_pool; 1653 1658 1654 1659 /* Initialize each media line */ … … 1732 1737 1733 1738 if (pending_med_tp) { 1739 /* We shouldn't use temporary pool anymore. */ 1740 call->async_call.pool_prov = NULL; 1734 1741 /* We have a pending media transport initialization. */ 1735 1742 pj_log_pop_indent();
Note: See TracChangeset
for help on using the changeset viewer.