Page History: SIP audio settings
Compare Page Revisions
Page Revision: Friday, 29 October 2010 14:14
The jitter buffer for incoming RTP (audio data being received from the SIP provider) is set centrally on the server using the server.ini file;
[audio]
jitterMs=50
Fine tuning of the audio server can be made locally on each audio server using the audioserver.ini file;
[audio]
WaveInPrefetch=20
WaveInBufferSize=50
WaveInMaxBuffers=2
WaveOutPrequeue=20
WaveOutMaxBufferSize=100
WaveInPrefetch
Controls the number of milliseconds of data that should be received from the audio input before allowing that data to be used. This prevents under-runs of the audio input.
WaveInBufferSize
WAVE driver
Controls the buffer size (milliseconds) used to retrieve audio from the sound card. Larger buffers will cause more latency whilst they are filled before being handed to the audio server. Most consumer sound cards cannot cope with a buffer smaller than 50ms.
ASIO driver
WaveInBufferSize has no effect when using ASIO. The ASIO buffer size is set in the soundcards ASIO drivers. The value should be set to 960 which equates to 20ms or the highest value less than 960 if 960 cannot be selected. Usually this means 768.
WaveInMaxBuffers
The maximum buffers that can be stored before discarding wave in data.
WaveOutPrequeue
Controls the number of milliseconds of audio that should be queued to the audio output before allowing it to play. This prevents under-runs of the audio output.
WaveOutMaxBufferSize
Controls the maximum number of milliseconds of audio that should be queued for playback. This prevents the output latency growing excessively over time if the clock of the soundcard varies slightly to that of the PC.