[Live-devel] Attach sink to multiple sources

Etienne Bömcke etienne.bomcke at uclouvain.be
Mon Mar 3 02:45:14 PST 2008


Thanks for the advice. I'll take a look at this and I'll get back to  
you if I achieve interesting results.

Etienne

On 01 Mar 2008, at 02:36, Ross Finlayson wrote:

>> I was
>> wondering if it was theoretically possible to design a custom Sink
>> class, which instances could be attached to various sources.
>
> The best way to do this would not be to define a new type of sink,
> but instead define a new type of source - i.e., a subclass of
> "FramedSource" - that would, as usual, feed into a single sink, but
> would read from multiple sources, as desired.
>
> More specifically, your new "FramedSource" subclass would perhaps
> take the (multiple) input sources as parameters to its constructor
> (and its "createNew()" function), and would implement the
> "doGetNextFrame()" virtual function by reading from the appropriate
> input source.
> -- 
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

--
Etienne Bömcke
UCL - Laboratoire TELE
etienne.bomcke at uclouvain.be





More information about the live-devel mailing list