>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.
Yes, I believe I am setting this flag to true, so I can't understand why I'm getting more source objects (and an increasing reference count). I'm setting it in the constructor shown below, is this enough? LiveMediaSubsession::LiveMediaSubsession( UsageEnvironment& env, streamSubStream_t *substream) : OnDemandServerMediaSubsession(env, true /* reuse first source */), _substream(substream) { FUNCTION_TRACE; } Cheers - David
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel