Version 1 (modified by bennylp, 17 years ago) (diff) |
---|
Check that CPU Utilization =
Some audio problems are caused by high CPU utilization, so check that CPU utilization is not too high during the call.
Remedy to lower CPU utilization:
- Disable echo canceller (with pjsua, EC is by default enabled. You can disable it with '''--ec-tail 0''' command line argument.
- 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).
- Use the release build instead of debug build (remove '''-g''' option from CFLAGS if you're using gcc).
- Lower the sampling rate (by default pjsua uses 16KHz or 44.1KHz - 48KHz in Mac OS).
- Close other applications that consume CPU.
- As the last resort, upgrade your hardware!