Audio Problem: Audio Drop-outs or Stutters (moved)
Moved to https://docs.pjsip.org/en/latest/specific-guides/audio-troubleshooting/problems/audio_dropouts.html
Symptoms
The audio is sounding like it's skipping some frames.
Sample WAV File
See the attachment on the bottom of this page. You can hear the stutters at 2.5 second, 3.8 second, 8.8 second.
(audio file courtesy of Chen Huan <chenhuan at sict.ac.cn> who managed to convince his girlfriend to record the audio for testing :) ).
Checklists
Here are the checklists related to stutters problem:
- Check whether the symptom is observable when looping the microphone to the speaker locally.
- Check that there is no dangling call in the PBX. A dangling call is call that is left active in the PBX because previous (pjsua) application has crashed.
- Check for network impairments of incoming RTP packets
- Check that CPU Utilization is not Too High
- Try to enlarge PJMEDIA_SOUND_BUFFER_COUNT value by setting it in your pj/config_site.h. The default value is 6, and you can increase it to, say, 16. But be aware that enlarging this buffer will increase the audio latency, so you should find a minimum value where the sound quality doesn't break.
- Check for audio underflows/overflows
Last modified 22 months ago
Last modified on Feb 3, 2023 1:18:58 PM
Attachments (1)
-
stutter.wav
(146.0 KB) -
added by bennylp 18 years ago.
Stutter sample
Download all attachments as: .zip