Codec loading has been radically changed in the last few weeks, and even a lot within the last few hours (see the commit log: http://scm.sipfoundry.org/viewsvn/sipX/branches/sipXtapi/?view=log ).
Make sure you're working with the latest code - currently revision 10209. I personally have not checked this version yet, but I know Alex tests his changes prior to checkin, and I don't believe he's in the midst of committing changes right now. What you're seeing is the new dynamic codec loader reporting that the codec requested was not found, probably because it was not built. Make sure you use the new solution+project (on windows) or automake (GNU based systems) changes -- more projects were added, and many things changed with existing projects. Many codecs are now built right from the solution, and the libraries are stored in a common path ( .../sipXmediaLib/bin ). Once you've built the plugins, and they reside in the bin directory, one more thing comes to my attention while inspecting the code (r10209). The default codec path may not be set properly. I see correct behavior on Linux, but not on windows. If you're on Windows, change the sipXmediaLib project file to define DEFAULT_CODECS_PATH to "./bin". I'll add this after I do some testing, but I believe doing this should allow you and others to build and use the current tree now. If you're still having issues with revision 10209, try rolling back to a version prior to new codec loading.. hmm.. I think 10049 may be ok. On 9/17/07, li zhang <[EMAIL PROTECTED]> wrote: > > Hi all, > Today, I check out the latest version of sipxapi and build. But when > it is used, a assert error occur which is described as "Could not find codec > of given type" and sipxapi log is > "MpMedia:00000DC4:sipXtapi:"MpCodecFactory::createDecoder unknown codec type > pcmu, fmtp=payloadType = 0" . The audio codec i used is PCMU, and former > version of sipxapi work well. > what is the reason? I wish for your help. > > Appreciate your help! > Li Zhang > > > > _______________________________________________ > sipxtapi-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/ > -- Keith Kyzivat SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
