From: Steve K. <st...@st...> - 2004-11-23 20:21:57
|
Richard, Another thing I might suggest adding is the ability to set speex codec options. For example, this sounds pretty good: void iaxc_set_speex_settings(int decode_enhance, float quality, int bitrate, int vbr, int abr, int complexity); iaxc_set_speex_settings(1,0,13000,0,1,3); This sets speex to use average-bit-rate at 13kbps. So, it uses about 2.5kbps for silence, and varies the bitrate dependent on the complexity of the speech for when speech is present. You can do similar on the * side with codecs.conf.. -SteveK Steve Kann wrote: > Richard Hirst wrote: > >>On Mon, Nov 22, 2004 at 04:49:32PM +0000, xavier dutoit wrote: >> >> >>>Richard, you're a dream, that was precisely the problem I was rumbling >>>about this morning. >>> >>>I'll test it tomorrow (I've finally been able to make iaxcomm on my >>>debian, I've had some difficulties to find the dependencies) and let you >>>know. >>> >>>Question for the list: with the new autoconf tool, would it be >>>complicated to add the ILBC codec on the preference tab IF it's present ? >>> >>> >> >>One possible approach would be to always have it on the tab, >>but grey it out if the library support isn't there. That might >>need a new library call to ask which codecs were supported. >> >> > Adding iaxc_get_formats() should be one line in the header, and 3 > lines (+whitespace) in iaxclient_lib.c > > If iLBC support is included, it will be in the allowed bitfield. > > -SteveK > > |