How to interrupt a video stream programmaticaly?
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Fri Mar 10 11:50:03 UTC 2017
Ok. Thank you very much .
I will analyze your hint.
Then, I will analyze a code with Qt5GStreamer, to figure out how to do the same thing in Qt.
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: Mandar Joshi [via GStreamer-devel] <ml-node+s966125n4682146h8 at n4.nabble.com>
Enviado: quinta-feira, 9 de março de 2017 23:30
Para: Rodrigo Pimenta Carvalho
Assunto: Re: How to interrupt a video stream programmaticaly?
> I would like to understand how to interrupt a stream and free a session
> programmatically,
Get the "GstRTSPClient *client" from "client-connected" signal of
GstRTSPServer and when you want to disconnect this client, use the
following code
GstRTSPSessionPool *pool = gst_rtsp_client_get_session_pool (client);
gst_rtsp_session_pool_filter (pool, func, NULL);
where func is
GstRTSPFilterResult func (GstRTSPSessionPool *pool, GstRTSPSession
*session, gpointer user_data) {
return GST_RTSP_FILTER_REMOVE;
}
Regards
Mandar Joshi
_______________________________________________
gstreamer-devel mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4682146&i=0>
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
________________________________
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/How-to-interrupt-a-video-stream-programmaticaly-tp4682136p4682146.html
To unsubscribe from How to interrupt a video stream programmaticaly?, click here<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4682136&code=cGltZW50YUBpbmF0ZWwuYnJ8NDY4MjEzNnwtNTMzOTIwMTcz>.
NAML<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-interrupt-a-video-stream-programmaticaly-tp4682136p4682156.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170310/6198cd26/attachment.html>
More information about the gstreamer-devel
mailing list