Changes between Version 1 and Version 2 of audio-check-cpu


Ignore:
Timestamp:
Dec 5, 2006 2:32:06 PM (14 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • audio-check-cpu

    v1 v2  
    1 = Check that CPU Utilization == 
     1= Check that CPU Utilization = 
    22 
    33Some [wiki:sound-problems audio problems] are caused by high CPU utilization, so check that CPU utilization is not too high during the call. 
    44 
    55Remedy to lower CPU utilization: 
    6  1. Disable echo canceller (with pjsua, EC is by default enabled. You can disable it with {{{'''--ec-tail 0'''}}} command line argument. 
    7  1. If you're using complex codecs such as Speex or iLBC, try to use PCMU or PCMA (pjsua by default uses Speex/16KHz. Use {{{'''--add-codec pcmu'''}}} to use PCMU). 
    8  1. Use the release build instead of debug build (remove {{{'''-g'''}}} option from CFLAGS if you're using gcc). 
    9  1. Lower the sampling rate (by default pjsua uses 16KHz or 44.1KHz - 48KHz in Mac OS). 
     6 1. Disable echo canceller (with pjsua, EC is by default enabled. You can disable it with '''{{{--ec-tail 0}}}''' command line argument. 
     7 1. If you're using complex codecs such as Speex or iLBC, try to use PCMU or PCMA (pjsua by default uses Speex/16KHz. Use '''{{{--add-codec pcmu}}}''' to use PCMU). 
     8 1. Use the release build instead of debug build (remove '''{{{-g}}}''' option from CFLAGS if you're using gcc). 
     9 1. Lower the sampling rate (by default pjsua uses 16KHz or 44.1KHz - 48KHz in Mac OS. You can override the clock rate with '''{{{---clock-rate 8000}}}''' command line argument to pjsua). However, when changing the clock rate, make sure that this clock rate matches the clock rate of the codec to be used, or otherwise resampling will be applied! 
    1010 1. Close other applications that consume CPU. 
    1111 1. As the last resort, upgrade your hardware!