Ignore:
Timestamp:
Jun 26, 2007 10:13:13 AM (17 years ago)
Author:
bennylp
Message:

Ticket #342: added option to disable RTCP advertisement in SDP (and ICE) to reduce SIP message size

File:
1 edited

Legend:

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

    r1266 r1393  
    558558        pj_ice_strans_comp comp; 
    559559        int next_port; 
    560  
    561         status = pjmedia_ice_create(pjsua_var.med_endpt, NULL, 2, 
     560#if PJMEDIA_ADVERTISE_RTCP 
     561        enum { COMP_CNT=2 }; 
     562#else 
     563        enum { COMP_CNT=1 }; 
     564#endif 
     565 
     566        status = pjmedia_ice_create(pjsua_var.med_endpt, NULL, COMP_CNT, 
    562567                                    &pjsua_var.stun_cfg,  
    563568                                    &pjsua_var.calls[i].med_tp); 
Note: See TracChangeset for help on using the changeset viewer.