Can't receive EOS

Le Matador lematador at
Thu Nov 9 11:37:43 UTC 2017

Hi there,
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.

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.

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.

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list