<div dir="ltr"><div><div><span>Hi there, <br>I have multiple rtsp streams which I
need to write to the disk in separate files. I have one pipeline and for each stream I have one
bin. So far so good everything works just fine.<br><br>Then I wanted
to add error handling in case some stream goes down. I achieved that by listening for resource errors on bus. When I receive GST_RESOURCE_ERROR type errors, I sent EOS to filesink element in bin, remove whole bin from pipeline, create new one and add to the pipeline.<br></span></div><div><span><br>When I want to end things I send EOS to pipeline. I'm getting EOS messages only for those bins/streams which were created initially but not for those who were recreated on errors. Therefore I can't properly finalize writing streams to files via filesink.<br><br></span></div><span>Thanks in advance<br></span></div><span>JO<br></span></div>