Stopping the rtsp-server

marcin at saepia.net marcin at saepia.net
Fri Jul 8 10:15:37 UTC 2016


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.

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-rtsp-server/html/GstRTSPServer.html#gst-rtsp-server-attach

m.

2016-07-08 11:21 GMT+02:00 Vineeth <vineeth.tm at samsung.com>:

> Hi i am facing similar issue.
>
> Does anyone know how to solve the issue?
>
> I want to stop the server without killing the process which started the
> server.
>
> I tried
> g_source_remove0
> gst_object_unref() of GstRTSPServer
>
> Is there anything else missing?
> Please help
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Stopping-the-rtsp-server-tp4659945p4678527.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160708/2864e5e0/attachment-0001.html>


More information about the gstreamer-devel mailing list