[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 03:16:14 PDT 2015


And here’s the full patch that allows it to compile here:
Removing the cast on the background handler functions allowed it to compile, but I expect using a fully qualified reference to the static function would do the same.
I also see that RTSPServer::RTSPClientConnection includes incomingRequestHandler and incomingRequestHandler1 with no implementation.

--
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: Deanna Earley
Sent: 09 June 2015 10:50
To: 'LIVE555 Streaming Media - development & use'
Subject: RE: [Live-devel] New version of the "LIVE555 Streaming Media" code - restructures the "RTPServer" class

Thanks, but it looks like one was missed (I’ve only tried liveMedia, not the other components yet).
Adding:
friend class RTSPServer;
to:
GenericMediaServer::ClientConnection
seems to fix the “cannot access protected member”.

The “illegal operation on bound member function expression” still persists though.
RTSPServer.cpp(190) : error C2276: '&' : illegal operation on bound member function expression
RTSPServer.cpp(190) : error C2660: 'TaskScheduler::turnOnBackgroundReadHandling' : function does not take 2 arguments
RTSPServer.cpp(730) : error C2276: '&' : illegal operation on bound member function expression
RTSPServer.cpp(730) : error C2660: 'TaskScheduler::setBackgroundHandling' : function does not take 3 arguments
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
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.EXE"' : return code '0x2'
Stop.

Thanks again

--
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: 09 June 2015 09:59
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] New version of the "LIVE555 Streaming Media" code - restructures the "RTPServer" class

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.

Yes, I think it’s a Windows-specific issue; apparently this compiler is more anal-retentive than others.

I’ve updated the code (adding some extra “friend” declarations to the “GenericMediaServer.hh” and “RTSPServer.hh” header files) in an attempt to satisfy this compiler.  Please try the latest version (2015.06.09), and let me know if you still have problems.

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/afaf7b6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GMS fix.patch
Type: application/octet-stream
Size: 2088 bytes
Desc: GMS fix.patch
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150609/afaf7b6a/attachment.obj>


More information about the live-devel mailing list