correct way to shutdown gst-rtsp-server?

Joel Keller jkeller at miovision.com
Wed Dec 20 14:48:25 UTC 2017


Hi,

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.

Could anyone give me a pointer on how to force a clean shutdown of
gst-rtsp-server such that all existing
are dropped & gst_deinit() can proceed.

Thanks,

Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171220/396e4efc/attachment.html>


More information about the gstreamer-devel mailing list