Version 8 (modified by bennylp, 18 years ago) (diff)


Troubleshooting Sound Problems -

Troubleshooting problems in the audio quality is one of the most difficult task to do with PJMEDIA, because mostly it is system specific. This page will try to provide a step-by-step troubleshooting guide to assist solving such problems.

Understanding Media Flow

If you want to understand how audio is flowing among various PJMEDIA components, the Understanding Media Flow page provides a detailed explanation about this.

Types of Problems

Please identify your problem with audio from the following list. If your problem is not listed below, it would be great to contact the mailing list so that I can add it here:

  1. No audio is heard on local speaker during the call
  2. No Audio is heard by remote party
  3. Loud static noise
  4. Soft/quiet noise
  5. Audio drop-outs or "stutters"
  6. Audio stutters when streaming tone to X-Lite/SJPhone
  7. High jitter value observed by remote party

All Checklists

For a thorough checks to your sound system you can follow these checklists:

  1. It's always recommended to check whether the problem exists with the latest SVN version of the libraries.
  2. Check that the correct device is being used.
  3. Check that no other application is using the devices. It is common to not be able to use sound device when the device is being used by other applications.
  4. Check that speaker is functioning properly by Looping-back Microphone to Speaker device.
  5. You can also check that speaker is functioning properly by Playing a WAV File to Speaker.
  6. Check that Incoming RTP Packets are Indeed Received by Local Host
  7. Check that the Call is Connected to the Sound Device in the Conference Bridge.
  8. Check that CPU Utilization is not Too High
  9. Check that pjsua is transmitting RTP packet to the correct address
  10. Check that codec is negotiated properly by both parties.
  11. Checking the Echo Cancellation Effectiveness?