[Asterisk-Dev] IAXClient : Frequency of sound input from file

Ashutosh Agarwal ashutosh224 at gmail.com
Thu Oct 6 09:11:16 MST 2005


Hi
I am using the  IAXClient Lib and have following problem

First Brief Overview:
I want to read the voice data from the file so that  the reciever on
otherside can hear  the sound from the file. The sound initialisation
is done using audiotype=AUDIO_TYPE_FILE in iaxc_initialise() and
reading the .wav file by modifing  the file_input() function defined
in the audio_file.c Data on the network is transmitted in  packets
which is intermitent but played at the output device at a constant
rate(and thats why the jitter buffer)

now the QUESTION is
 how fast the data file be read and how(i.e by using udelay sleep stc)
OR
rather how asterisk/IAX make the compactibility between the packet
data and the data  played/recorded at the constant rate (which can be
different at different phone terminal)

thanks
bye
ashutosh



More information about the asterisk-dev mailing list