[ previous ] [ next ] [ threads ]
 To :  Nik Pakar <nikpakar@g...>
 From :  Arkadi Shishlov <arkadi.shishlov@g...>
 Subject :  Re: [yate] Re: Codec packet size in both ways
 Date :  Sat, 17 Oct 2009 16:30:06 +0300
Nik Pakar wrote:
>  Tried to register 'audio' format 'g729' fsize=10 ftime=10000 
> srate=8000 nchan=1
> Any idea on where this original fsize and ftime comes from ?

G.729 frame size is 10 bytes, and it contain 10ms of audio.
You could try to multiply these values by 4 and see how the codec handles it, 
because it tries to consume as much as there is data in the buffer to fill the 
whole frame.