GNOME Bugzilla – Bug 755332
AppSrc restart problem
Last modified: 2015-10-11 09:38:10 UTC
Hi all, I have a pipeline with appsrc (on iOS) of type appsrc --> rtph264pay --> udpsink It works fine as long as I don't restart it. This pipeline run on a thread which I close and start again When I do restart this pipeline it takes more time to start when the previous time. (matter of tens of seconds) I also tried to run pipeline of type videotestsrc --> x264enc --> rtph264pay --> udpsink Restarting this pipeline induced no delay. It seems like the problem is 'appsrc'-'s resources. What can be the reason for this and how can I fixit. (or restart differently). PS. I am using the standard appsrc code taken from the tutorials. Thanks
Can you provide some example code that reproduces this problem?
For testing I made simple appsrc pipeline which is being restarted a few times the sample project runs on Win64. It is located in: https://github.com/EduardAtReporty/AppSrcTester For comilation/running: 1. git clone https://github.com/EduardAtReporty/AppSrcTester 2. Open the project with VisualStudio 13 3. Make sure GStreamer linkage path is correct 4. Set project to x64 (instead of Win32) 5. Run Expected Result: The stream should start immediately after the restart just like in the first time Actual Result: Each time the stream restarts there is a delay that's being added to the pipeline. Eventually the delay in the restart will reach above 10 seconds. I will appreciate your help in trying to figure out what's the problem.
Not GStreamer bug rather its my configuration of appsrc was wrong.
Can you let us know what the problem was?