<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:10pt; font-weight:400; font-style:normal;">Hi,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I'm using a very simple pipeline to receive an udp stream using udpsrc. If the stream is available all works fine but if I disconnect the network cable to the source stream and I try to lauche my pipeline (I'm simulating a simple network failure) I have on the bus the following messages:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; from multiudpsink1 at 0x9684380&gt;           <br>
&lt;class 'gst._gst.MessageType'&gt;                                                                   <br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;                                                                                                                        <br>
&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_VOID_PENDING; from udpsrc1 at 0x9684408&gt;                 <br>
&lt;class 'gst._gst.MessageType'&gt;<br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;<br>
&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_NULL, new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PLAYING; from rtp-pipeline at 0x9684448&gt;<br>
&lt;class 'gst._gst.MessageType'&gt;<br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;<br>
&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_VOID_PENDING; from udpsrc1 at 0x94d2e98&gt;<br>
&lt;class 'gst._gst.MessageType'&gt;<br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;<br>
&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_READY, new-state=(GstState)GST_STATE_PAUSED, pending-state=(GstState)GST_STATE_PLAYING; from rtp-pipeline at 0x94d2ed8&gt;<br>
&lt;class 'gst._gst.MessageType'&gt;<br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;<br>
&lt;gst.Message GstMessageState, old-state=(GstState)GST_STATE_PAUSED, <span style=" font-weight:600;">new-state=(GstState)GST_STATE_PLAYING, </span>pending-state=(GstState)GST_STATE_VOID_PENDING; from udpsrc1 at 0x9684300&gt;<br>
&lt;class 'gst._gst.MessageType'&gt;<br>
&lt;flags GST_MESSAGE_STATE_CHANGED of type GstMessageType&gt;<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>obviuosly the state cannot be playing and the timeline is in a blocking state, I'm wainting for a state change failure message since 10 minutes,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>this is a bug in udpsrc or in my implementation? I'm using the pipeline as follow:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>self.pipeline = gst.Pipeline("rtp-pipeline")<br>
source=gst.element_factory_make("udpsrc")<br>
source.set_property("port",self.sourceport)<br>
source.set_property("timeout",3000)<br>
source.set_property("caps",self.caps)<br>
destination=gst.element_factory_make("multiudpsink")<br>
destination.set_property("clients",self.destinations)<br>
self.pipeline.add(source,destination)<br>
gst.element_link_many(source,destination)<br>
self.pipeline.set_state(gst.STATE_PLAYING)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>any hints?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>thanks<br>
Nicola<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>