Hi,

First of all - it would be much better to post questions to maililng
list, there are more people, able to answer. I'm bringing this
thread to it now.

Re: your problem.
No, there is now way to compile codecs statically at the moment. Probably
this will be implemented later, but do not hold your breath. For now you
may tweak CODEC_PLUGIN_PATH in sipXmediaLib\src\mp\MpMisc.cpp
to be an absolute path and put codecs' dlls to this path. Alternatively you
could bring codec paths manipulation API to sipXtapi level. What you have
to do is to call CpMediaInterfaceFactory::addCodecPaths(...) before calling
pInst->pCallManager = new CallManager(...) in sipxInitialize().


On 12/27/07, Ramasamy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm in the development of java user agent application using sipXtapi. Using
> JNI we are able to call the dll functions and able to make call.
>
> The problem is we are getting 'Could not find codec of given type'
> assertion failure. There is no way we can set the current working directory
> in java.
>
> All the dlls are loaded to JVM but the actual stack (sipxtapi.dll) couldn't
> find the codec dlls. even it fails when I run from the directory where the
> JVM is.
>
> Is there someway we can build the sipxtapi.dll statically linked with codec
> dlls.
>
> Thanks,
> Ram
>
>


-- 
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/

Reply via email to