rtsp streaming block aplication by change state to null

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

rtsp streaming block aplication by change state to null

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?


Version Gstreamer: Gstreamer-0.10.31

*1 gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_NULL);
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...

gstreamer-devel mailing list
[hidden email]