rtsp streaming block aplication by change state to null

Alejandro Vázquez vazlup at gmail.com
Wed Jul 12 11:53:50 UTC 2017


I can see the streaming correctly but when I stop the pipe (*1) the
application is blocked (*2) until the timeout time passes and finally it
stops correctly.
Is there any way that the pipe will not blocked and I can show some message
in my application?


Thanks!
Regards!

Version Gstreamer: Gstreamer-0.10.31

*1 gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_NULL);
*2
0:00:18.859796566  1124  0x97da008 DEBUG                rtspsrc
gstrtspsrc.c:4234:gst_rtspsrc_try_send:<rtspSource> sending message
0:00:38.880357180  1124  0x97da008 WARN                 rtspsrc
gstrtspsrc.c:4323:gst_rtspsrc_try_send:<rtspSource> error: Could not
receive message. (Timeout while waiting for server response)
0:00:38.880762337  1124  0x97da008 DEBUG                rtspsrc
gstrtspsrc.c:4420:gst_rtspsrc_send:<rtspSource> got error -14
0:00:38.880849609  1124  0x97da008 WARN                 rtspsrc
gstrtspsrc.c:5601:gst_rtspsrc_close:<rtspSource> error: Could not send
message.
0:00:38.881029084  1124  0x97da008 DEBUG                rtspsrc
gstrtspsrc.c:5574:gst_rtspsrc_close:<rtspSource> closing connection...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170712/16172ec5/attachment-0001.html>


More information about the gstreamer-devel mailing list