[Live-devel] Multiple clients on a single FramedSource substream

Ross Finlayson finlayson at live555.com
Sat Jan 28 13:28:55 PST 2012


> The trouble is, I think, when a second client connects to the same stream, another instance of the class is created

In your "OnDemandServerMediaSubsession" subclass constructor, are you setting the "reuseFirstSource" parameter (in the parent class constructor) to True?  This is important if - as in your case - you're streaming from a live input source.  It prevents a new input source object from being created each time a new client connects.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120128/eefb0b25/attachment.html>


More information about the live-devel mailing list