<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Aravindhan<div><br></div><div>Interpipes are essentially appsink/appsrc underneath.</div><div><br></div><div>I’ve seen this accumulation you’re referring to, and it’s almost always due to the interpipesrc (appsrc) queuing buffers. Make sure you limit the internal capacity via max-bytes, max-time or max-buffers and configure it to block or drop buffers when the internal queue is full, via block or leaky-type.</div><div><br></div><div>As per alternatives, there’s always the input-selector, intervideosrc/interaudiosrc or even handling the dynamic branches yourself programmatically. <br><div><div><br><div dir="ltr">Michael</div><div dir="ltr"><br><blockquote type="cite">On 24 Nov 2022, at 00:31, Aravindhan K via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi All, <br></div><div><br></div><div>For a video streaming application we are building we wanted to switch over different sources of video inputs ( One is RTSP source and other HLS source) and publish those over WebRTC connection. At first we we investigated using <a href="https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html">https://gstreamer.freedesktop.org/documentation/application-development/advanced/pipeline-manipulation.html</a>, it worked well for switching single element, but swapping most of pipeline didn't go well for us.</div><div><br></div><div>then came across this package, <a href="https://github.com/RidgeRun/gst-interpipe">https://github.com/RidgeRun/gst-interpipe</a> and tried a simple example using C code, <br></div><div><a href="https://pastebin.com/XUjNSi4i">https://pastebin.com/XUjNSi4i</a></div><div>when I try to switch the source pipeline, memory usage goes peeks and gets terminated by OS. If any used this package before, kindly share some pointers what I might be doing wrong. <br></div><div><br></div><div><br></div><div>Or any other alternate ways to handle this would be helpful<br></div><div><br></div><div><br></div><div>Thanks,</div><div>Aravindhan K<br></div></div>
</div></blockquote></div></div></div></body></html>