rtsp server hangs after calling gst_rtsp_stream_leave_bin
Francisco Velázquez
francisco.javier at me.com
Mon Feb 16 08:34:38 PST 2015
I did some small modifications to the code and now I am getting the error:
rtspstream rtsp-stream.c:2230:gst_rtsp_stream_leave_bin:<GstRTSPStream at 0x7eff2c05a570> can't leave bin (transports not removed)
The code is here: http://www.fpaste.org/186131/04065142/
So I guess the right question is: how to remove transports from streams? GstRTSPSessionMedia has get_ and set_transport functions, but not remove.
Thanks for the help!
Francisco
> On 13 Feb 2015, at 19:34, Francisco Velázquez <francisv at ifi.uio.no> wrote:
>
> Hi GStreamer community,
>
> I am trying to remove a GstRTSPStream by calling ‘gst_rtsp_stream_leave_bin()’. The code is in: http://pastebin.com/CuiUN5uh <http://pastebin.com/CuiUN5uh>
>
> The client for that RSTP server application is:
>
> gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test <rtsp://127.0.0.1:8554/test> name=src src. ! rtpamrdepay ! amrnbdec ! autoaudiosink src. ! rtpvp8depay ! vp8dec ! videoconvert ! ximagesink
>
> After running the client, the server hangs and its output is: http://pastebin.com/WLbpaCdF <http://pastebin.com/WLbpaCdF>.
>
> The client throws a "Could not read from resource.” error.
>
> Can somebody explain me why does the server hang and how can I effectively remove a GstRTSPStream?
>
> Thank you,
>
> Francisco
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150216/2ea5b044/attachment.html>
More information about the gstreamer-devel
mailing list