<div dir="ltr"><div>Hi All.<br><br></div>I am using the following code snippet ::    <br><div><div><div><br>####################################################################################<br></div><div>    /* Checkpoint 1 */<br></div><div>    pipeline = gst_parse_launch (mediaUrl, NULL);<br>    gst_element_set_state (pipeline, GST_STATE_PLAYING);<br><br>    bus = gst_element_get_bus (pipeline);<br>    /* Checkpoint 2 */<br><br>    msg = gst_bus_poll (bus, GST_MESSAGE_EOS | GST_MESSAGE_ERROR, -1);<br></div><div>    /* Checkpoint 3 */<br>####################################################################################<br><br><br><br></div><div>Following is the "mediaUrl" ::<br><br>####################################################################################<br>rtspsrc location=rtsp://<a href="http://192.168.1.71/0/0/0">192.168.1.71/0/0/0</a> ! rtph264depay ! avdec_h264 ! videoscale ! videorate skip-to-first=true ! videoconvert ! queue leaky=1 ! capsfilter caps=video/x-raw,framerate=1/1 ! x264enc byte-stream=true me=1 subme=6 bitrate=50 speed-preset=1 ! video/x-h264 ! rtph264pay pt=96 mtu=65000 ! udpsink host=1.2.3.4 port=1234<br>####################################################################################<br></div><div><br></div><div><br><br></div><div>Now, "Checkpoint 3" is reached fine, if and when the "mediaUrl" is invalid (syntax-wise, or/and connectvity-wise).<br></div><div>However, "Checkpoint 3" is not reached, for the following sequence of events ::<br><br></div><div>    * Pipeline is created fine.<br></div><div>    * Media starts getting streamed from the client, and the stream starts being received at the udpsink-server.<br></div><div>    * After some time, the udpsink-server restarts, thus breaking all the opened/connected UDP-sockets.<br><br></div><div>Now, it is expected that "Checkpoint 3" will be reached at the client, but unfortunately, it does not.<br><br><br></div><div>Any ideas?<br></div><div>I will be grateful for any pointers.<br></div><div><br><br><br></div><div>Thanks and Regards,<br></div><div>Ajay</div></div></div></div>