Can't receive EOS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Can't receive EOS

Le Matador
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

gstreamer-devel mailing list
[hidden email]