rtsp server hangs after calling gst_rtsp_stream_leave_bin

Francisco Velázquez francisv at ifi.uio.no
Fri Feb 13 10:34:24 PST 2015


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

The client for that RSTP server application is:

gst-launch-1.0 rtspsrc location=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.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150213/2f2ded24/attachment.html>


More information about the gstreamer-devel mailing list