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

2012-01-28 Thread Ross Finlayson
> >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 b

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

2012-01-28 Thread David J Myers
>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 e

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

2012-01-28 Thread Ross Finlayson
> 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

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

2012-01-28 Thread David J Myers
Hi, I don't think I'm handling multiple client connections properly in my camera's live rtsp server. My camera has multiple streams and I derive a class from FramedSource for each of my substreams, the constructor looks like this:- StreamSource::StreamSource(UsageEnvironment &env,streamSubStream_

Re: [Live-devel] x264 nal unist and H264VideoStreamDiscreteFramer

2012-01-28 Thread Фазлеев Максим
The error was that I for one call doGetNextFrame several times calling afterGetting. For solution used by queue from stl.I think there is a shortage of examples to DeviceSource. The source code for opencv attached.22.01.2012, 15:48, "Ross Finlayson" :As I noted before, SPS (nal_unit_type 7) and PPS