Ignore:
Timestamp:
Jun 10, 2008 6:56:10 PM (16 years ago)
Author:
nanang
Message:

Updated default speex quality settings and reenabled pjsua to set Speex codec quality based on media quality config

File:
1 edited

Legend:

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

    r1998 r2004  
    9292#if PJMEDIA_HAS_SPEEX_CODEC 
    9393    /* Register speex. */ 
    94     status = pjmedia_codec_speex_init_default(pjsua_var.med_endpt); 
     94    status = pjmedia_codec_speex_init(pjsua_var.med_endpt,   
     95                                      0,  
     96                                      pjsua_var.media_cfg.quality,   
     97                                      -1); 
    9598    if (status != PJ_SUCCESS) { 
    9699        pjsua_perror(THIS_FILE, "Error initializing Speex codec", 
Note: See TracChangeset for help on using the changeset viewer.