[gst-devel] rtspsrc tcp-timeout question

wanting2learn wanting2learn at hotmail.co.uk
Mon Mar 15 14:19:11 CET 2010


I have an rtspsrc element in my pipeline and sometimes when I am setting my
elements to PAUSED  or NULL like so
if ( !gst_element_set_state( source,GST_STATE_PAUSED ) 
if ( !gst_element_set_state( source,GST_STATE_NULL )

Then I notice that it freezes for about 20 seconds each time
gst_element_set_state is called.  I found that rtspsrc has a  tcp-timeout 
property that has a default value of 20 seconds so I try setting it like so
to reduce my timeout value.
gint timeout = 5000000;//5 seconds
g_object_set(source, "tcp-timeout", timeout, NULL );

But then my pipeline does not play at all.

Has anyone ever saw anything like this, and how can I solve it?

Thanks


-- 
View this message in context: http://n4.nabble.com/rtspsrc-tcp-timeout-question-tp1593346p1593346.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list