<div dir="ltr"><div>gst_rtsp_server_attach () returns GLib source ID. So you have to use g_source_remove, and then you can safely unref the server object. Please take a look at notes if you use other main context than default.<br><br><a href="https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-rtsp-server/html/GstRTSPServer.html#gst-rtsp-server-attach">https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-rtsp-server/html/GstRTSPServer.html#gst-rtsp-server-attach</a><br><br></div>m.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-08 11:21 GMT+02:00 Vineeth <span dir="ltr"><<a href="mailto:vineeth.tm@samsung.com" target="_blank">vineeth.tm@samsung.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi i am facing similar issue.<br>
<br>
Does anyone know how to solve the issue?<br>
<br>
I want to stop the server without killing the process which started the<br>
server.<br>
<br>
I tried<br>
g_source_remove0<br>
gst_object_unref() of GstRTSPServer<br>
<br>
Is there anything else missing?<br>
Please help<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Stopping-the-rtsp-server-tp4659945p4678527.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Stopping-the-rtsp-server-tp4659945p4678527.html</a><br>
<span class="">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
</span><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>