<html><head>


<style type="text/css">#x5af34df2914540e p.MsoNormal
{margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;}
#x5af34df2914540e div.WordSection1
{page: WordSection1;}
</style><style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt;   }</style>
</head>
<body><div>I'm looking into this project to start and monitor for 24/7 receiver purposes. In my case SRT. I have to use sources for SRT functionality and having difficulty getting it installed right now and finding the prefix path. It might be suitable ? I've yet to test it. <br /><br /><a href="https://github.com/RidgeRun/gstd-1.x">https://github.com/RidgeRun/gstd-1.x</a></div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "Jorne De Smedt | IndigoCare" <<a href="mailto:Jorne.DeSmedt@indigocare.com">Jorne.DeSmedt@indigocare.com</a>></div>
<div>To: "gstreamer-devel@lists.freedesktop.org" <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>></div>
<div>Sent: 8/6/2019 6:17:22 PM</div>
<div>Subject: How to restart a pipeline after network connection loss?</div><div><br /></div>
<div id="x5af34df2914540e"><blockquote cite="00D147B94EDE724C900EA24AE70257989F1DDE@dcb14.dcbad.local" type="cite" class="cite2">

<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><o:p xmlns:o="#unknown"> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’ve been trying to get an rtsp stream working on Android, based on the tutorials.<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now, the basic stream itself works, but whenever the stream is lost (due to network issues or other reasons), the stream just pauses and I can’t seem to figure out how to restart it without restarting the app. (Sometimes
 it also shows a “no signal” screen, but I’m unsure if this is part of gstreamer or the source.)<br />
There’s also a light issue that whenever the stream is just a slideshow of static images, it gets stuck on the first frame (unless you put an animation in there somewhere, like a single animated slide or animated pixel). I’m unsure if this is related to the
 previous issue<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><br />
The goal is to have the app display the stream 24/7, so it should try to reconnect until it finds the stream again.<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p xmlns:o="#unknown"> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m currently using the following pipeline:<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">"rtspsrc name=source location=rtsp://192.168.30.4:554/0 ! rtph264depay ! h264parse ! decodebin name=convert ! glimagesink"<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p xmlns:o="#unknown"> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Which seems to do the same as the previous one I used:<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal">"uridecodebin name=source ! videoconvert name=convert ! glimagesink"<o:p xmlns:o="#unknown"></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p xmlns:o="#unknown"> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What is the right way to restart a pipeline like this?<o:p xmlns:o="#unknown"></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Do I need to use a dynamic pipeline instead of one like this?<o:p xmlns:o="#unknown"></o:p></span></p>
</div>
</blockquote></div>


</body></html>