> The replica is wrapped in the above class, as per instructions. However, 
> doGetNextFrame() can not simply call
> getNextFrame() as that requires a set of parameters that are not accessible:
> 
>        m_replica->getNextFrame( fTo, fMaxSize, fAfterGettingFunc, 
> fAfterGettingClientData, fOnCloseFunc, fOnCloseClientData );
> 
> The fAfterGettingClientData and fOnCloseClientData are private and not 
> accessible to my wrapper. I can also not override getNextFrame()
> in my wrapper and save said data as that method is not virtual. Instead if I 
> assume you made a typo and meant:
> 
>       m_replica->doGetNextFrame();

No, I meant “getNextFrame()” - i.e., the regular call that an object makes to 
get data from an upstream “FramedSource”.  You need to provide your own ‘after 
getting’ and ‘on close’ functions and data.  There are numerous examples of 
this in the code.


> Anyway, currently stream replicating does not work at all and it does not 
> seem to be easy to do. The StreamReplicator class works in
> trivial examples but breaks in real world code.

No, it works just fine.  It just needs to be used properly.

In any case, I’ve pretty much used up all the free help I can give you on your 
project right now.

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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to