<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Ok. Thank you very much .</p>
<p>I will analyze your hint.</p>
<p>Then, I will analyze a code with Qt5GStreamer, to figure out how to do the same thing in Qt.</p>
<p><br>
</p>
<p>Best regards.</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> Mandar Joshi [via GStreamer-devel] <ml-node+<a href="/user/SendEmail.jtp?type=node&node=4682156&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>><br>
<b>Enviado:</b> quinta-feira, 9 de março de 2017 23:30<br>
<b>Para:</b> Rodrigo Pimenta Carvalho<br>
<b>Assunto:</b> Re: How to interrupt a video stream programmaticaly?</font>
<div> </div>
</div>
<div>> I would like to understand how to interrupt a stream and free a session <br>
> programmatically, <br>
<br>
Get the "GstRTSPClient *client" from "client-connected" signal of <br>
GstRTSPServer and when you want to disconnect this client, use the <br>
following code <br>
<br>
GstRTSPSessionPool *pool = gst_rtsp_client_get_session_pool (client); <br>
gst_rtsp_session_pool_filter (pool, func, NULL); <br>
<br>
<br>
where func is <br>
<br>
GstRTSPFilterResult func (GstRTSPSessionPool *pool, GstRTSPSession <br>
*session, gpointer user_data) { <br>
   return GST_RTSP_FILTER_REMOVE; <br>
} <br>
<br>
<br>
Regards <br>
Mandar Joshi <br>
_______________________________________________ <br>
gstreamer-devel mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=4682146&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<hr size="1" noshade="noshade" color="#cccccc">
<div style="color:#444; font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-interrupt-a-video-stream-programmaticaly-tp4682136p4682146.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/How-to-interrupt-a-video-stream-programmaticaly-tp4682136p4682146.html</a>
</div>
<div style="color:#666; font:11px tahoma,geneva,helvetica,arial,sans-serif; margin-top:.4em; line-height:1.5em">
To unsubscribe from How to interrupt a video stream programmaticaly?, <a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="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" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
</div>
</div>
</div>
</div>




        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-interrupt-a-video-stream-programmaticaly-tp4682136p4682156.html">Re: How to interrupt a video stream programmaticaly?</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>