> 1.       Would having a fully implemented Tee-sink / Frame Duplicator class 
> offer significant advantages over ad-hoc methods of replicating a stream (eg. 
> inside filters)?

It depends on what you want to do with each 'replica'.  If you just need two 
'replicas' - one going to a LIVE555 "MediaSink" (as normal); the other just 
being written to a file - then the simplest solution would be to just do the 
file writing normally (without using LIVE555 objects).

What specifically do *you* want to do with the replicated streams?


> 2.       How difficult would it be to implement this class (any gotchas, or 
> should it be straightforward)?

Unfortunately, if it were easy, I probably would have done it already.

The only real advice I can give right now is here: 
http://lists.live555.com/pipermail/live-devel/2006-May/004454.html


> As I look closely at this, it looks to me like a challenge may be that 
> inheriting from both MediaSink and FramedSource could result in some clashes.

No, this is definitely 'barking up the wrong tree'.  Multiple inheritance in 
C++ is (generally speaking) a bad idea, and not relevant here anyway, because a 
general 'frame duplicator' mechanism would not contain (or create) any 
"MediaSink" objects at all.

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