Hi, On 9/17/07, li zhang <[EMAIL PROTECTED]> wrote: > 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.
Most likely you do not have codec plugins dlls at proper place. By default they should be at the working dir, that is plugin search path is set to ".\" by default. If codecs plugins were built successfully, they could be found in sipXmediaLib/bin directory under the codec_*.dll names. Try copying them to the dir with your executable and see will it help or not. Note, that for plugins which depends on other dlls, like codec_speex, codec_amr, etc, original codec dll (libspeex.dll, libamr.dll) should be at the same place too. I'm sorry we have not yet updated all build system to automate such things. We're working on it. Beyond this we're going to have a solid plugable codecs system, wich makes it really easy to add new codecs, replace existing codecs with different implementation, etc. It's great flexibility and we're glad to anounce it here. Keep your breath if you have added custom codecs to past versions of sipXtapi - we'll release documentation on new plugin system soon and I believe you'll find it much simpler then before. -- Regards, Alexander Chemeris. 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/
