Ignore:
Timestamp:
May 27, 2008 12:24:26 AM (16 years ago)
Author:
nanang
Message:

Changed build optimizations settings for Speex, pjmedia, and symbian_sound for Symbian. Speex/8000 now also runs on Symbian!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp

    r1793 r1965  
    335335            return status; 
    336336    } 
    337  
     337     
     338    /* Adjust Speex priority and enable only the narrowband */ 
     339    { 
     340        pj_str_t codec_id = pj_str("speex/8000"); 
     341        pjmedia_codec_mgr_set_codec_priority(  
     342                pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), 
     343                &codec_id, PJMEDIA_CODEC_PRIO_NORMAL+1); 
     344 
     345        codec_id = pj_str("speex/16000"); 
     346        pjmedia_codec_mgr_set_codec_priority(  
     347                pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), 
     348                &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); 
     349 
     350        codec_id = pj_str("speex/32000"); 
     351        pjmedia_codec_mgr_set_codec_priority(  
     352                pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt), 
     353                &codec_id, PJMEDIA_CODEC_PRIO_DISABLED); 
     354    } 
     355     
    338356    /* Add UDP transport. */ 
    339357    pjsua_transport_config tcfg; 
Note: See TracChangeset for help on using the changeset viewer.