<html><head></head><body><div>Le mardi 08 juin 2021 à 13:26 +0200, Sarah Maria Hyatt via gstreamer-devel a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div>Dear All, <br></div><div><br></div><div>I am new to GStreamer, and I am working on making my pipeline robust against sudden disconnections and reconnections to the camera, and robust in general. It should be possible to remove the camera instantly and add it again, as well as being able to handle network failures without crashing. <br></div><div><br></div><div>Does anyone have any recommendations? Should I restore the pipeline some way (perhaps at some specific stage in the pipeline), or should I create a new pipeline? and perhaps some tips for doing so? <br></div></div></blockquote><div><br></div><div>You could start with a basic implementation at application level. This consist of monitoring errors, and cycling the pipeline through NULL / PLAYING whenever that occurs. Now, if the camera was unplugged, you likely want to use the GstDeviceMoinitor, and then wait for the camera to come back before restarting the pipeline. For the network aspect, the protocol will highly impact your decision. It's it's multicast streaming, there is very little to be done, but it's it's TCP, the remote side might have bone away for a moment, a try loop with a delay would likely be appropriate.</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Thank you in advance, and kind regards, <br></div><div>Sarah <br></div><div><br></div><div><br></div></div><pre>_______________________________________________</pre><pre>gstreamer-devel mailing list</pre><pre><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a></pre><pre><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre></blockquote><div><br></div><div><span></span></div></body></html>