From: <al...@of...> - 2004-04-12 13:28:04
|
On Fri, Apr 09, 2004 at 08:37:01PM -0400, Steve Kann wrote: > > On Apr 9, 2004, at 7:55 PM, Steven Sokol wrote: > > The most important thing is to modularize the interface to the codecs. > Whether or not the codecs are included in the library is less important > (although, for iLBC, there's licensing issues to consider, because it's > not GPL-compatible). Is really Not GPL-Compatible? The code for ilbc is in the asterisk source code (a GPLv2 application), see codecs/ilbc in the cvs. If they are not compatible, will have to leave the sources. If iaxclient will be use the ilbc codec, must use the same source code as asterisk. To use different drafts will become a great problem in the future. > For each codec, you'll make a codec_xxx.c file [a codec_xxx.h file too, > perhaps, but I'm not sure it's necessary]. This file will have an > "init" function that will initialize the encode and decode states, > stash those in it's private storage area, and return a struct > iaxc_codec function. Something like in asterisk? ;) -- Alejandro Escanero Blanco Administrador Sistemas CEC. |