Changes between Version 2 and Version 3 of audio-problem-dropouts
- Timestamp:
- Jan 18, 2007 2:38:33 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
audio-problem-dropouts
v2 v3 3 3 [[TracNav(Sound_Problems/TOC)]] 4 4 5 == Symptoms == 6 7 The audio is sounding like it's skipping some frames. 8 9 Sample WAV file: 10 http://www.pjsip.org/trac/attachment/wiki/audio-problem-dropouts/stutter.wav?format=raw 11 12 In the WAV file above, you can hear the stutters at 2.5 second, 3.8 second, 8.8 second. 13 14 15 == Checklists == 5 16 Checklists: 6 17 1. [wiki:audio-check-loopback Check whether the symptom is observable when looping the microphone to the speaker locally]. 7 18 1. [wiki:audio-check-packet-loss Check for network impairments of incoming RTP packets] 8 19 1. [wiki:audio-check-cpu Check that CPU Utilization is not Too High] 20 21 22 == Windows Mobile Workaround == 23 24 Some people have observed stutters on Windows Mobile devices, and it turns out that this was caused by frame duration setting that is set too low. The usual settings for frame duration is 10ms or 20ms, and it seems that Windows Mobile just can't handle this. Increasing the frame duration to 80ms seems to cure the problem. 25 26 Example: 27 28 This sets the frame duration to 20ms: 29 {{{ 30 int samples_per_frame = clock_rate * 20 / 1000; 31 }}} 32 33 While this would set the frame duration to 80ms: 34 {{{ 35 int samples_per_frame = clock_rate * 80 / 1000; 36 }}}