<div dir="ltr"><div>Hi,<br></div><div><br></div><div>I've noticed that gst_deinit() hangs waiting for rtsp-server related threads if I attempt to shutdown my application while an RTSP client connection remains.  Specifically, when it is time for the server to shut down, I exit the main loop to which the rstp-server is attached, and do g_source_remove, g_source_destroy for the server object.  Still I see that if I leave a VLC/ffplay window RTSP client window open, gst_deinit() hangs until I close the window.</div><div><br></div><div>Could anyone give me a pointer on how to force a clean shutdown of gst-rtsp-server such that all existing </div><div>are dropped & gst_deinit() can proceed.</div><div><br></div><div>Thanks,</div><div><br></div><div>Joel</div></div>