Ignore:
Timestamp:
Mar 22, 2006 11:59:11 AM (18 years ago)
Author:
bennylp
Message:

Redesign RTP/RTCP stuffs so that stream does not create thread implicitly. Changed pjmedia_endpt_create() API.

File:
1 edited

Legend:

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

    r343 r350  
    105105        pjsua.calls[i].refresh_tm._timer_id = -1; 
    106106        pjsua.calls[i].hangup_tm._timer_id = -1; 
     107        pjsua.calls[i].conf_slot = 0; 
    107108    } 
    108109 
     
    537538    /* Init media endpoint: */ 
    538539 
    539     status = pjmedia_endpt_create(&pjsua.cp.factory, &pjsua.med_endpt); 
     540    status = pjmedia_endpt_create(&pjsua.cp.factory,  
     541                                  pjsip_endpt_get_ioqueue(pjsua.endpt), 0, 
     542                                  &pjsua.med_endpt); 
    540543    if (status != PJ_SUCCESS) { 
    541544        pj_caching_pool_destroy(&pjsua.cp); 
Note: See TracChangeset for help on using the changeset viewer.