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/include/pjsua-lib | |
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/include/pjsua-lib')
-rw-r--r-- | pjsip/include/pjsua-lib/pjsua.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 2b5130c8..636d0955 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -530,9 +530,12 @@ typedef struct pjsua_med_tp_state_info * * @param call_id The call ID. * @param info The media transport state info. + * + * @return The callback must return PJ_SUCCESS at the moment. */ -typedef void (*pjsua_med_tp_state_cb)(pjsua_call_id call_id, - const pjsua_med_tp_state_info *info); +typedef pj_status_t +(*pjsua_med_tp_state_cb)(pjsua_call_id call_id, + const pjsua_med_tp_state_info *info); /** |