Changes between Version 95 and Version 96 of FAQ


Ignore:
Timestamp:
Aug 4, 2010 6:18:21 AM (9 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v95 v96  
    269269On typical PC, normally it's the sound device and jitter buffer that contribute the most latency, so this article will try to present how to optimize these settings. Codec latency is determined by the codec algorithm and its {{{ptime}}}, but normally it shouldn't add too much latency; maybe around 20 to 30 ms. The default resampling algorithm in PJMEDIA adds about 5 ms latency. I have no idea about AEC latency. Network latency, well, we can't do anything about it. 
    270270 
     271==== Use Audio Switchboard ==== 
     272 
     273If you don't need conferencing, you may want to consider replacing the conference bridge with the [wiki:Nokia_APS_VAS_Direct#switchboard audio switchboard] which does very minimum buffering to the audio. You will loose conferencing feature, but as a bonus this will lower CPU usage too.  
     274 
     275To use the audio switchboard, declare this in your {{{config_site.h}}}: 
     276 
     277{{{ 
     278 #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 
     279}}} 
     280 
    271281==== Choosing lower audio frame length ==== 
    272282 
     
    318328 The jitter buffer implementation has been modified and it should reduce latency significantly.  
    319329 
    320  
    321 ==== Use Audio Switchboard ==== 
    322  
    323 If you don't need conferencing, you may want to consider replacing the conference bridge with the [wiki:Nokia_APS_VAS_Direct#switchboard audio switchboard] which does very minimum buffering to the audio. You will loose conferencing feature, but as a bonus this will lower CPU usage too.  
    324  
    325 To use the audio switchboard, declare this in your {{{config_site.h}}}: 
    326  
    327 {{{ 
    328  #define PJMEDIA_CONF_USE_SWITCH_BOARD 1 
    329 }}} 
    330330 
    331331=== How to run PJSUA without sound device? === #no-snd-dev