Changes between Version 2 and Version 3 of audio-problem-dropouts


Ignore:
Timestamp:
Jan 18, 2007 2:38:33 AM (17 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • audio-problem-dropouts

    v2 v3  
    33[[TracNav(Sound_Problems/TOC)]] 
    44 
     5== Symptoms == 
     6 
     7The audio is sounding like it's skipping some frames. 
     8 
     9Sample WAV file:  
     10http://www.pjsip.org/trac/attachment/wiki/audio-problem-dropouts/stutter.wav?format=raw 
     11 
     12In the WAV file above, you can hear the stutters at 2.5 second, 3.8 second, 8.8 second. 
     13 
     14 
     15== Checklists == 
    516Checklists: 
    617 1. [wiki:audio-check-loopback Check whether the symptom is observable when looping the microphone to the speaker locally]. 
    718 1. [wiki:audio-check-packet-loss Check for network impairments of incoming RTP packets] 
    819 1. [wiki:audio-check-cpu Check that CPU Utilization is not Too High] 
     20 
     21 
     22== Windows Mobile Workaround == 
     23 
     24Some 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 
     26Example: 
     27 
     28This sets the frame duration to 20ms: 
     29{{{ 
     30 int samples_per_frame = clock_rate * 20 / 1000; 
     31}}} 
     32 
     33While this would set the frame duration to 80ms: 
     34{{{ 
     35 int samples_per_frame = clock_rate * 80 / 1000;  
     36}}}