<div dir="ltr">Hello,<div>did you solved this situation?</div><div><br></div><div>I'm currently stuck with same problem. Actually I have a valve element before rtmpsink and when rtmpsink fire an error on bus I put valve in drop state but this doesn't solve, pipeline stop to write on filesink aniway... Btw rtmpsink as async=false</div><div><br></div><div>Thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 30, 2014 at 6:16 PM, KPAXIT <span dir="ltr"><<a href="mailto:romants@gmail.com" target="_blank">romants@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
I´m building streaming application in python.<br>
Applications writes data to rtmpsink and to filesink using tee element.<br>
Starting and streaming works fine in ideal environment(network) but what to<br>
do if there is disconnect with streaming server for example? I'm trying to<br>
figure out how I at least can make pipeline write data to filesink and block<br>
streaming part(rtmpsink)...<br>
<br>
<br>
*What I'm trying to archive:*<br>
step 1) At least I would like to keep my archive file(filesink) after error<br>
in streaming part(rtmpsink) occur. Hereby we have some backup if error<br>
happens.<br>
step 2) Manually reconnect to streaming server.<br>
step 3) Build some mechanism to check for connection<br>
<br>
*Question(s):*<br>
Is it possible to archive what I'm trying to do?<br>
How can it be archived (dynamic pipeline / probes / extra elements )?<br>
<br>
Any explanation, example or point to right direction will be very much<br>
appreciated.<br>
<br>
*note:*<br>
Gst version: gstreamer 1.3.90 (rtmpsink, faac, x264enc)<br>
OS: ubuntu 14.04 LTS<br>
Streaming server: wowza 4.x<br>
<br>
*Test application (code):*  link<br>
<<a href="https://dl.dropboxusercontent.com/u/75885675/gst-test-error.py" rel="noreferrer" target="_blank">https://dl.dropboxusercontent.com/u/75885675/gst-test-error.py</a>><br>
<br>
*Pipeline after startup(OK):*  link<br>
<<a href="https://dl.dropboxusercontent.com/u/75885675/gst_startup.png" rel="noreferrer" target="_blank">https://dl.dropboxusercontent.com/u/75885675/gst_startup.png</a>><br>
<br>
<br>
*Pipeline after rtmpsink error(Failed to write data):*  link<br>
<<a href="https://dl.dropboxusercontent.com/u/75885675/gst_error_rtmp.png" rel="noreferrer" target="_blank">https://dl.dropboxusercontent.com/u/75885675/gst_error_rtmp.png</a>><br>
<br>
*Log snippet after rtmpsink error(Failed to write data):*  link<br>
<<a href="https://dl.dropboxusercontent.com/u/75885675/gst_log.txt" rel="noreferrer" target="_blank">https://dl.dropboxusercontent.com/u/75885675/gst_log.txt</a>><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-how-recover-from-rtmpsink-error-tp4670055.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-how-recover-from-rtmpsink-error-tp4670055.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>