Ignore:
Timestamp:
Oct 6, 2011 6:49:09 AM (13 years ago)
Author:
ming
Message:

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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r3786 r3796  
    531531  * @param call_id      The call ID. 
    532532  * @param info         The media transport state info. 
     533  * 
     534  * @return             The callback must return PJ_SUCCESS at the moment. 
    533535  */ 
    534 typedef void (*pjsua_med_tp_state_cb)(pjsua_call_id call_id, 
    535                                       const pjsua_med_tp_state_info *info); 
     536typedef pj_status_t 
     537(*pjsua_med_tp_state_cb)(pjsua_call_id call_id, 
     538                         const pjsua_med_tp_state_info *info); 
    536539 
    537540 
Note: See TracChangeset for help on using the changeset viewer.