diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-10-06 06:49:09 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-10-06 06:49:09 +0000 |
commit | 790e06757b92282d3f6436a46f278f5c2b92139b (patch) | |
tree | 1507a87839993ad83b901b4cef9a130775ff97f6 /pjsip/src/pjsua-lib/pjsua_call.c | |
parent | 56a567ffe9bbe46f17caa83faf943e095254d9d9 (diff) |
Re #1266:
* Make sure that all media transports are already created and completed to fix the assertion when making call using ICE.
* Change the callback pjsua_med_tp_state_cb to return pj_status_t (instead of void)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3796 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 64aeac4d..ad96a4d6 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -630,7 +630,6 @@ PJ_DEF(pj_status_t) pjsua_call_make_call( pjsua_acc_id acc_id, status = pjsua_media_channel_init(call->index, PJSIP_ROLE_UAC, call->secure_level, dlg->pool, NULL, NULL, PJ_TRUE, - (pjsua_med_tp_state_cb) &on_make_call_med_tp_complete); if (status == PJ_SUCCESS) { status = on_make_call_med_tp_complete(call->index, NULL); @@ -1096,7 +1095,6 @@ pj_bool_t pjsua_call_on_incoming(pjsip_rx_data *rdata) rdata->tp_info.pool, offer, &sip_err_code, PJ_TRUE, - (pjsua_med_tp_state_cb) &on_incoming_call_med_tp_complete); if (status == PJ_SUCCESS) { status = on_incoming_call_med_tp_complete(call_id, NULL); |