[Live-devel] Set ProxyServerMediaSession::fProxyRTSPClient as protected
Jesús Leganés
jesus.lc at vaelsys.com
Fri Jun 29 04:18:04 PDT 2012
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 fact is that reviewing the code it seems to me it's the correct
aproach, just use a ProxyServerMediaSession child constructor that
inits ProxyServerMediaSession::fProxyRTSPClient to my own
ProxyRTSPClient child class and i'm ready, but the fact is that this
attribute is private, so i can't be able to access to it. Do you know
if there's another better way to do it? And if not, could you be able
to set it as protected? I know that ProxyServerMediaSession is
intended to be a black box, i only want it to be a little bit gray...
:-P
By the way, i don't know if it would be better to do what i want the
ProxyServerMediaSession::fClientMediaSession attribute (i don't
believe so), but it's also private, so i got the same problem here.
Greetings, Jesús Leganés Combarro.
--
Jesús Leganés Combarro
Software developer at Vaelsys
More information about the live-devel
mailing list