<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I did some small modifications to the code and now I am getting the error:<div class=""><br class=""></div><div class="">rtspstream rtsp-stream.c:2230:gst_rtsp_stream_leave_bin:<GstRTSPStream@0x7eff2c05a570> can't leave bin (transports not removed)</div><div class=""><br class=""></div><div class="">The code is here: <a href="http://www.fpaste.org/186131/04065142/" class="">http://www.fpaste.org/186131/04065142/</a></div><div class=""><br class=""></div><div class="">So I guess the right question is: how to remove transports from streams? GstRTSPSessionMedia has get_ and set_transport functions, but not remove.</div><div class=""><br class=""></div><div class="">Thanks for the help!</div><div class=""><br class=""></div><div class="">Francisco</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Feb 2015, at 19:34, Francisco Velázquez <<a href="mailto:francisv@ifi.uio.no" class="">francisv@ifi.uio.no</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Hi GStreamer community,</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">I am trying to remove a GstRTSPStream by calling ‘gst_rtsp_stream_leave_bin()’. The code is in: <a href="http://pastebin.com/CuiUN5uh" class="">http://pastebin.com/CuiUN5uh</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">The client for that RSTP server application is:</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">gst-launch-1.0 rtspsrc location=<a href="rtsp://127.0.0.1:8554/test" class="">rtsp://127.0.0.1:8554/test</a> name=src src. ! rtpamrdepay ! amrnbdec ! autoaudiosink src. ! rtpvp8depay ! vp8dec ! videoconvert ! ximagesink</span></font></div><div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div style="margin: 0px;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">After running the client, the server hangs and its output is: <a href="http://pastebin.com/WLbpaCdF" class="">http://pastebin.com/WLbpaCdF</a>.</span></font></div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">The client throws a "Could not read from resource.” error.</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">Can somebody explain me why does the server hang and how can I effectively remove a <span style="font-family: Menlo; font-size: 11px;" class="">GstRTSPStream</span>?</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">Thank you,</div><div style="margin: 0px;" class=""><br class=""></div><div style="margin: 0px;" class="">Francisco</div><div style="margin: 0px;" class=""><br class=""></div></div>_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></blockquote></div><br class=""></div></body></html>