Ignore:
Timestamp:
Oct 6, 2007 5:31:09 PM (17 years ago)
Author:
bennylp
Message:

Ticket #393: Added configuration to set basic audio frame length to minimize audio latency in pjsua-lib

File:
1 edited

Legend:

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

    r1470 r1482  
    155155 
    156156    cfg->clock_rate = PJSUA_DEFAULT_CLOCK_RATE; 
     157    cfg->audio_frame_ptime = 10; 
    157158    cfg->max_media_ports = 32; 
    158159    cfg->has_ioqueue = PJ_TRUE; 
     
    18811882 
    18821883    p = pjsip_parse_uri(pool, url, len, 0); 
    1883     if (!p || pj_stricmp2(pjsip_uri_get_scheme(p), "sip") != 0) 
     1884    if (!p || (pj_stricmp2(pjsip_uri_get_scheme(p), "sip") != 0 && 
     1885               pj_stricmp2(pjsip_uri_get_scheme(p), "sips") != 0)) 
     1886    { 
    18841887        p = NULL; 
     1888    } 
    18851889 
    18861890    pj_pool_release(pool); 
Note: See TracChangeset for help on using the changeset viewer.