<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 6 mars 2020 06 h 15, dananjaya <<a href="mailto:pulzappcheck890@gmail.com">pulzappcheck890@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have tried to save an USB 1080p stream while streaming it to an rtmp<br>
location. I used the tee element to achieve this. If there is a network<br>
failure both the pipeline stops. I am required to continue saving the stream<br>
even though the rtmp fails.<br>
<br>
What can be a solution for this?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I would use two pipelines. One for the recording, with tee and an appsink on one end. And then another for the streaming, starting with an appsrc. That will protect the recorder from the potential network errors.</div><div dir="auto"><br></div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto">p.s. consider using rtmpsink2, it's more robust to network errors.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>