Ignore:
Timestamp:
Mar 12, 2009 6:11:37 PM (16 years ago)
Author:
bennylp
Message:

(Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r2481 r2506  
    178178    cfg->ilbc_mode = PJSUA_DEFAULT_ILBC_MODE; 
    179179    cfg->ec_tail_len = PJSUA_DEFAULT_EC_TAIL_LEN; 
     180    cfg->snd_rec_latency = PJMEDIA_SND_DEFAULT_REC_LATENCY; 
     181    cfg->snd_play_latency = PJMEDIA_SND_DEFAULT_PLAY_LATENCY; 
    180182    cfg->jb_init = cfg->jb_min_pre = cfg->jb_max_pre = cfg->jb_max = -1; 
    181     cfg->snd_auto_close_time = -1; 
     183    cfg->snd_auto_close_time = 1; 
    182184 
    183185    cfg->turn_conn_type = PJ_TURN_TP_UDP; 
     
    582584 
    583585    /* Set default sound device ID */ 
    584     pjsua_var.cap_dev = pjsua_var.play_dev = -1; 
     586    pjsua_var.cap_dev = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV; 
     587    pjsua_var.play_dev = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; 
    585588 
    586589    /* Init caching pool. */ 
Note: See TracChangeset for help on using the changeset viewer.