Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-07-04 Thread Jesús Leganés
> I hope this now allows you to do what you want with your subclasses... > It works like a charm... :-) Thank you! :-D -- Jesús Leganés Combarro Software developer at Vaelsys ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-07-02 Thread Ross Finlayson
OK, I've now installed a new version (2012.07.03) of the code that does the following: - The definition of "ProxyRTSPClient" is now publicly accessible, in the "ProxyServerMediaSession.hh" header file - so you can subclass it if you wish. - "ProxyServerMediaSession" now has a new virtual function

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-07-02 Thread Jesús Leganés
>> Yes, but note that the existing "ProxyServerMediaSession" constructor >> already initializes the "fProxyRTSPClient" field (to a new "ProxyRTSPClient" >> object), so you'll need to delete this (using "Medium::close()") first, >> before assigning your new "ProxyRTSPClient" subclass object. >> > Oh

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-07-02 Thread Jesús Leganés
> So if you want to detect/log every client connection (etc.) to the proxy > server, then you would not modify (or subclass) the "Proxy*" code at all. > Instead, you would subclass "RTSPServer" and > "RTSPServer::RTSPClientSession", and reimplement the "handleCmd_SETUP()" > (etc.) virtual functions

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-06-29 Thread Ross Finlayson
> I have review the code and yes, it seems it's the correct way but i > would need another modification on the code: change > RTSPClient::sendRequest() from private to protected, too. Ugh - If I did this, I'd also need to make it "virtual", so you could redefine it in a subclass. Once again, are

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-06-29 Thread Ross Finlayson
> I'm needing to be able to detect and log the > connect/disconnect/playing/paused/etc events done on the > ProxyServerMediaSession against the remote camera I'm not sure exactly what you mean by this, but if your intention is to detect/log every client connection (etc.) to the proxy server, then

Re: [Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-06-29 Thread Jesús Leganés
I have review the code and yes, it seems it's the correct way but i would need another modification on the code: change RTSPClient::sendRequest() from private to protected, too. This way i could be able to inherit this method on a child class that send the event to my subsystem, and later just to c

[Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected

2012-06-29 Thread Jesús Leganés
I'm needing to be able to detect and log the connect/disconnect/playing/paused/etc events done on the ProxyServerMediaSession against the remote camera, so i thought i could do it inheriting the internal ProxyRTSPClient and using a custom one (i don't know if there's a better way to do it). The fa