rtspserver how to dispose correctly

Sebastian Dröge sebastian at centricular.com
Fri Mar 11 06:44:00 UTC 2016


On Do, 2016-03-10 at 14:49 +0000, Serj TorresSoldado wrote:
> Thank you Prabhakar.
> 
> I couldn't get it to cleanly close down the server. The following is
> the simplest example I could make to reproduce this.
> [...]
>   gst_rtsp_server_attach(server, NULL);

attach() is returning a GSource id, which you have to detach/destroy
from the main context again.

> The weird thing I found out is that commenting the gst_init()
> resolves the issue..

I'm surprised anything works at all then :)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160311/6b3b4be0/attachment.sig>


More information about the gstreamer-devel mailing list