Ignore:
Timestamp:
Aug 9, 2006 11:59:26 AM (18 years ago)
Author:
bennylp
Message:

Changed WinCE demo app to automatically answer incoming calls.

File:
1 edited

Legend:

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

    r658 r667  
    208208    SetAction(ID_MENU_ANSWER); 
    209209    SetURI(call_info.remote_info.ptr, call_info.remote_info.slen, false); 
    210     pjsua_call_answer(call_id, 180, NULL, NULL); 
     210    pjsua_call_answer(call_id, 200, NULL, NULL); 
    211211} 
    212212 
     
    286286    media_cfg.clock_rate = 8000; 
    287287    media_cfg.ec_options = PJMEDIA_ECHO_SIMPLE; 
     288    media_cfg.ec_tail_len = 256; 
    288289    media_cfg.quality = 1; 
    289290    media_cfg.ptime = 20; 
     
    306307 
    307308    /* Set codec priority */ 
    308     pjsua_codec_set_priority(pj_cstr(&tmp, "gsm"), 10); 
    309309    pjsua_codec_set_priority(pj_cstr(&tmp, "pcmu"), 240); 
    310310    pjsua_codec_set_priority(pj_cstr(&tmp, "pcma"), 230); 
    311311    pjsua_codec_set_priority(pj_cstr(&tmp, "speex/8000"), 190); 
     312    pjsua_codec_set_priority(pj_cstr(&tmp, "ilbc"), 189); 
    312313    pjsua_codec_set_priority(pj_cstr(&tmp, "speex/16000"), 180); 
    313314    pjsua_codec_set_priority(pj_cstr(&tmp, "speex/32000"), 0); 
     315    pjsua_codec_set_priority(pj_cstr(&tmp, "gsm"), 100); 
    314316 
    315317 
Note: See TracChangeset for help on using the changeset viewer.