Ignore:
Timestamp:
Apr 21, 2012 2:17:07 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1492: The echo options field in the media config and pjsua_set_ec() argument are ignored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_media.c

    r3986 r4065  
    20292029                pjmedia_snd_port_param param; 
    20302030 
     2031                pjmedia_snd_port_param_default(&param); 
     2032                param.ec_options = pjsua_var.media_cfg.ec_options; 
     2033 
    20312034                /* Create parameter based on peer info */ 
    20322035                status = create_aud_param(&param.base, pjsua_var.cap_dev,  
     
    29532956                            pjsua_var.media_cfg.audio_frame_ptime * 
    29542957                            pjsua_var.media_cfg.channel_count / 1000; 
     2958        pjmedia_snd_port_param_default(&param); 
     2959        param.ec_options = pjsua_var.media_cfg.ec_options; 
    29552960        status = create_aud_param(&param.base, capture_dev, playback_dev,  
    29562961                                  alt_cr[i], pjsua_var.media_cfg.channel_count, 
     
    30813086 
    30823087    pjsua_var.media_cfg.ec_tail_len = tail_ms; 
     3088    pjsua_var.media_cfg.ec_options = options; 
    30833089 
    30843090    if (pjsua_var.snd_port) 
Note: See TracChangeset for help on using the changeset viewer.