Page History: SIP audio settings
Compare Page Revisions
Page Revision: Tuesday, 14 September 2010 15:40
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
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.
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.