[Live-devel] New version of the "LIVE555 Streaming Media" code - restructures the "RTPServer" class

Deanna Earley dee.earley at icode.co.uk
Tue Jun 9 01:27:41 PDT 2015


Hi Ross.

I've just tried compiling the liveMedia library (on Windows using nmake) and it’s failing with these errors (watch for wrapping):

RTSPServer.cpp(1268) : error C2276: '&' : illegal operation on bound member function expression
RTSPServer.cpp(1268) : error C2660: 'TaskScheduler::setBackgroundHandling' : function does not take 3 arguments
RTSPServer.cpp(1605) : error C2248: 'GenericMediaServer::ClientConnection::fClientAddr' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(95) : see declaration of 'GenericMediaServer::ClientConnection::fClientAddr'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1625) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1643) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
       p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1659) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1675) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1689) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
RTSPServer.cpp(1992) : error C2248: 'GenericMediaServer::ClientConnection::fResponseBuffer' : cannot access protected member declared in class 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(97) : see declaration of 'GenericMediaServer::ClientConnection::fResponseBuffer'
        p:\icatcher\rtsp\livemedia\livemedia\include\GenericMediaServer.hh(78) : see declaration of 'GenericMediaServer::ClientConnection'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.EXE"' : return code '0x2'
Stop.

The previous version (2015.06.04) compiled fine and the make files are updated before each build.
I don’t have the ability to compile on other architectures so I can’t see if this is a Windows/nmake issue or otherwise.
--
Deanna Earley | Lead developer | icatchercctv

w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 | f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: 07 June 2015 07:47
To: LIVE555 Streaming Media - development & use
Subject: [Live-devel] New version of the "LIVE555 Streaming Media" code - restructures the "RTPServer" class

FYI, the latest version (2015.06.07) of the “LIVE555 Streaming Media” code restructures the “RTSPServer” class into an abstract base class “GenericMediaServer”, and a subclass "RTSPServer".  The reason for this restructuring is to make it possible - in the future - to develop other kinds of media server that use the same "ServerMediaSession"/"ServerMediaSubsession" objects (and much of the same code) to represent the stream(s) that they serve, but using protocols other than RTSP.

The existing “RTSPServer” class API remains unchanged, so this restructuring should have no effect on any of your existing code.  But if anyone runs into any problem with the new code, then please let us know ASAP.

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/20150609/0e868780/attachment.html>


More information about the live-devel mailing list