> I am using ‘ProxyServerMediaSession’ for one of our projects, where we stream 
> in from multiple cameras and stream out again. I am facing an issue where 
> there are two clients connected and receiving one of the streams. But when 
> one of the clients goes away or terminates its connection with the server, 
> the live555 appears to disconnect the other client as well.

I don't see how this can be happening, because the 'reference count' on the 
"StreamState" object (in the implementation of "OnDemandServerMediaSubsession") 
is supposed to take care of this.  (Because proxied streams have 
"reuseFirstSource" set to True, the same 
"StreamState" object gets used, regardless of how many front-end clients are 
accessing the proxied stream.  But when each client closes its stream, the 
"StreamState" object doesn't get closed down unless there are no more clients 
remaining (see the function "OnDemandServerMediaSubsession::deleteStream()").

This is assuming, of course, that you haven't modified the code at all.  If you 
have modified the code, then all bets are off...

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