Changeset 3796
- Timestamp:
- Oct 6, 2011 6:49:09 AM (13 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r3786 r3796 531 531 * @param call_id The call ID. 532 532 * @param info The media transport state info. 533 * 534 * @return The callback must return PJ_SUCCESS at the moment. 533 535 */ 534 typedef void (*pjsua_med_tp_state_cb)(pjsua_call_id call_id, 535 const pjsua_med_tp_state_info *info); 536 typedef pj_status_t 537 (*pjsua_med_tp_state_cb)(pjsua_call_id call_id, 538 const pjsua_med_tp_state_info *info); 536 539 537 540 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3780 r3796 631 631 call->secure_level, dlg->pool, 632 632 NULL, NULL, PJ_TRUE, 633 (pjsua_med_tp_state_cb)634 633 &on_make_call_med_tp_complete); 635 634 if (status == PJ_SUCCESS) { … … 1097 1096 offer, 1098 1097 &sip_err_code, PJ_TRUE, 1099 (pjsua_med_tp_state_cb)1100 1098 &on_incoming_call_med_tp_complete); 1101 1099 if (status == PJ_SUCCESS) { -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3780 r3796 1482 1482 pjsua_call_media *call_med = &call->media[mi]; 1483 1483 1484 if (call_med->med_init_cb) { 1484 if (call_med->med_init_cb || 1485 call_med->tp_st == PJSUA_MED_TP_NULL) 1486 { 1485 1487 pj_mutex_unlock(call->med_ch_mutex); 1486 1488 return PJ_SUCCESS; … … 1698 1700 security_level, sip_err_code, 1699 1701 async, 1700 (async? (pjsua_med_tp_state_cb)1701 &media_channel_init_cb:NULL));1702 (async? &media_channel_init_cb: 1703 NULL)); 1702 1704 if (status == PJ_EPENDING) { 1703 1705 pending_med_tp = PJ_TRUE;
Note: See TracChangeset
for help on using the changeset viewer.