Ignore:
Timestamp:
Apr 14, 2010 6:57:35 AM (12 years ago)
Author:
nanang
Message:

Ticket #1056:

  • Added functions to set/unset transport state notification callback on specific transport.
  • Updated transaction to immediately terminate the transactions when their transport gets disconnected.
  • Minor update: renamed function pjsip_tpmgr_set/get_status_cb() to pjsip_tpmgr_set/get_state_cb().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r3128 r3138  
    18901890 
    18911891        tpmgr = pjsip_endpt_get_tpmgr(pjsua_var.endpt); 
    1892         tpcb = pjsip_tpmgr_get_status_cb(tpmgr); 
     1892        tpcb = pjsip_tpmgr_get_state_cb(tpmgr); 
    18931893 
    18941894        if (tpcb != &on_tp_state_callback) { 
    18951895            pjsua_var.old_tp_cb = tpcb; 
    1896             pjsip_tpmgr_set_status_cb(tpmgr, &on_tp_state_callback); 
     1896            pjsip_tpmgr_set_state_cb(tpmgr, &on_tp_state_callback); 
    18971897        } 
    18981898    } 
Note: See TracChangeset for help on using the changeset viewer.