GstRTSPServer detach

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GstRTSPServer detach

rezils
Hi guys,

I ran into a little issue, I want to detach a GstRTSPServer instance from the main context.

The gst-rtsp-server plugin doesn't provide a "detach" method for the GstRTSPServer, but only the "attach" one.

Is there a standard way to detach a GstRTSPServer? If not, How should I correctly detach it?

Thanks in advance,

rezils
Reply | Threaded
Open this post in threaded view
|

Re: GstRTSPServer detach

Wim Taymans
On 11/13/2012 09:03 AM, rezils wrote:

> Hi guys,
>
> I ran into a little issue, I want to detach a *GstRTSPServer* instance from
> the main context.
>
> The gst-rtsp-server plugin doesn't provide a "/detach/" method for the
> *GstRTSPServer*, but only the "/attach/" one.
>
> Is there a standard way to detach a *GstRTSPServer*? If not, How should I
> correctly detach it?
It attached a GSource, so g_source_destroy() with the id you got from
attach.

Wim

>
> Thanks in advance,
>
> rezils
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstRTSPServer-detach-tp4656881.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstRTSPServer detach

rezils
Hi Wim,
thank you for replying me!

Do you think a call to g_source_destroy() should be enough? What about the i/o channel created by a call to gst_rtsp_server_get_io_channel()?

I'm asking just to be one hundred percent sure that I'm doing correctly.

Thanks again,

rezils