[Live-devel] Using openRTSP in a script / batch file

Sanjeeva Reddy Dontireddy sanjeeva.reddy at sreesaila.com
Wed Oct 5 21:06:02 PDT 2011


Thank you Ross, it worked.

Noted the point and will not comment the code.

 

 

Thanking You,

 

Regards'

Sanjeeva Reddy

Sreesaila - Logo 400X320- Final

Sreesaila Networks Pvt. Ltd. | Ph: +91 40 23076655 | Mobile: +91 9000616655
| Website: www.sreesaila.com

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Thursday, October 06, 2011 2:36 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Using openRTSP in a script / batch file

 

Once you've made *any* changes to the supplied code - and that *especially*
includes commenting out code to try to work around compiler/linker problems
- then you can't expect any support on this mailing list.

 

Noone else has reported the compiler problems that you're seeing.  Perhaps
you have out-of-date standard libraries and/or header files??

 

But in this case, "_strncasecmp" is defined in
"liveMedia/include/RTSPCommon.hh".  Because you (I presume) have "__WIN32__"
or "_WIN32" defined, that means that it's defined as "_strnicmp".

 

But note also the following code defined in "liveMedia/include/Media.hh":

 

// The following makes the Borland compiler happy:

#ifdef __BORLANDC__

#define _strnicmp strnicmp

#define fabsf(x) fabs(x)

#endif

 

Perhaps this is what you need (assuming that you also have "__BORLANDC__"
defined)?

 

 

So, I suggest adding the following:

 

#ifndef _MEDIA_HH

#include <Media.hh>

#endif

 

to the top of "liveMedia/include/RTSPCommon.hh".  That might help you.

 

In any case, stop arbitrarily commenting out code, if you expect it to work.

 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/ 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111006/e758c23b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1443 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111006/e758c23b/attachment-0001.jpe>


More information about the live-devel mailing list