|
List Info
Thread: Re: Freezing problem with version 10220
|
|
| Re: Freezing problem with version 10220 |

|
2007-09-27 15:16:02 |
|
So, thinking and talking about this,
Playing with the DEFAULT_CODECS_PATH is not what all of you should be doing..
The proper solution to all of this is to use the API that allows one to add/clear codec paths (
i.e. ignoring the default one).
I provided an API for this that is exposed to users of sipXmediaAdapterLib, but none above this. Since the location that your executable is run from can change, and to not restrict you to a particular place on your system where the codecs have to lie, setting this yourself really should be the way to go.
The API I have implemented is available at: CpMediaInterfaceFactory.h - CpMediaInterfaceFactory::addCodecPaths(const size_t numCodecPaths, const UtlString codecPaths[]); CpMediaInterfaceFactory::clearCodecPaths();
Both are static methods, and should be called before a CpMediaInterface derived class is instantiated. (i.e. before sipXmediaFactoryFactory() is called).
If someone could extend this API up to the levels that you all need, I'd be glad to accept a patch, review and check it in.
I don't have the time for this right now, but I think some of you need this. If you do not wish to do this, you may have to roll back to versions prior to the plugins being defined - r10087, or better would be to go back even further -- 9924 is a reasonable revision.
On 9/27/07, Anshuman S. Rawat < arawat 3clogic.com">arawat 3clogic.com> wrote:
My mistake. Forgot to escape the '' !!
Another problem though - I have 1 way media issue now. I see RTP packets coming in but they are not played out to the speaker. I have tried the patch Alexander sent out a couple of weeks
ago but that doesn't help!
Thanks, Anshuman
----- Original Message ----- From: "Anshuman S. Rawat" < arawat 3clogic.com">arawat 3clogic.com> To: "Keith Kyzivat" <
kkyzivat sipez.com">kkyzivat sipez.com> Cc: < sipxtapi-dev list.sipfoundry.org">sipxtapi-dev list.sipfoundry.org> Sent: Thursday, September 27, 2007 6:55 PM Subject: Re: [sipxtapi-dev] Freezing problem with version 10220
> Well, my sipXmediaLib/bin was empty. I hadn't built the DLLs. But building > them and copying them > to the output directory didn't help the cause. > > > ----- Original Message -----
> From: Keith Kyzivat > To: Anshuman S. Rawat > Cc: sipxtapi-dev list.sipfoundry.org">sipxtapi-dev list.sipfoundry.org > Sent: Wednesday, September 26, 2007 9:52 PM > Subject: Re: [sipxtapi-dev] Freezing problem with version 10220
> > > Which codec are you using? > If you're using the speex codec, please see my latest messages on the list > pertaining to it. > Also, make sure that you're building all the plugin DLLs and that they're
> placed in the sipXmediaLib/bin directory. > > There may also be issues with the sipXmediaLib/bin directory not being > configured in the codec search path. The default codec path may not be
> properly set, and defaults to '.'; currently. > So, one way to test that is to do one of two things: > > First way to test: > > Copy all the DLLs from the sipXmediaLib/bin directory (codec_*.dll,
> libspeex.dll) to your output directory ('Debug' or 'Release') > Run and see if you're receiving the same error. > > Second way to test: > > Edit sipXmediaLib/src/mp/MpMisc.cpp
> search for 'CODEC_PLUGIN_PATH' > In the section where DEFAULT_CODECS_PATH is not defined, change "." to > "../bin" > Run and see if you're receiving the same error.
> This is most likely the cause of your problems, and I think it will affect > everyone building and running on windows. > Under Linux, all should be fine, as in the makefiles, DEFAULT_CODECS_PATH > is
> set to the proper value. > > Under windows, I don't find a way to define a quoted value inside project > files.. > Is there a way to do this? > > I'm nearly positive now that this is what you're running into..
> > If you find a good clean solution to this, could you provide a patch to > us? > I'd be greatful. > > > On 9/26/07, Anshuman S. Rawat < arawat 3clogic.com">
arawat 3clogic.com> wrote: > Hi All, > > I recently upgraded our sipxtapi code base form 9994 to 10220 (on Windows > XP). With this version, my PC freezes up as soon as I make a call. > After a bit of debugging I found that
> - SdpCodecList::getCodecs() [called from CallManager::doCreateCall()] > returns a 0 (zero). > - As a result, no SDP body is formed in SipMessage::addSdpBody(). > - Side-effect is that variable 'sdpFields' remain un-initialised (as it
> should be > if the SDP constructor was called). > > This might be causing my PC to freeze up. But it results from > SdpCodecList::getCodecs() returning a 0. > > Any pointers to what's going wrong?
> > Regards, > Anshuman > > _______________________________________________ > sipxtapi-dev mailing list > sipxtapi-dev list.sipfoundry.org">sipxtapi-dev list.sipfoundry.org
> 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 > > > > Internal Virus Database is out-of-date. > Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 7/11/2007 > 9:57 PM > > _______________________________________________ > sipxtapi-dev mailing list > sipxtapi-dev list.sipfoundry.org">
sipxtapi-dev list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/ > > > -- > Internal Virus Database is out-of-date.
> Checked by AVG Free Edition. > Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 7/11/2007 > 9:57 PM >
-- Keith Kyzivat
SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|