> On Aug 28, 2018, at 4:18 PM, jared-...@jaredrobinson.com wrote:
> 
> Hello,
> 
> I'm brand new to live555, so maybe this is a dumb question, but how can I 
> gracefully disconnect all connected clients, without shutting down the server?

You call “GenericMediaServer::closeAllClientSessionsForServerMediaSession()”; 
see “liveMedia/include/GenericMediaServer.hh"; lines 55-59.

If you want to do this for *all* of the server’s “ServerMediaSession” objects, 
rather than just one, then you’d create a “ServerMediaSessionIterator”, to 
iterate over all of the “ServerMediaSession” objects, and call 
"closeAllClientSessionsForServerMediaSession()” on each one. 


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