<div dir="ltr"><div><br></div><div><div>Hi! </div><br><div>I am trying to stream robustly from two cameras using GStreamer and RTSP. The cameras should be able to dis- and reconnect alot. </div><br><div>My problem is that the memory keeps increasing when I use <span style="color:rgb(206,145,120)">`rtspsrc`</span>, where it is worst using <span style="color:rgb(206,145,120)">`nvh265sldec`</span> versus <span style="color:rgb(206,145,120)">`avdec_h265`</span>. I don't understand why. I do not get any memory increasements when I use <span style="color:rgb(206,145,120)">`videotestsrc`</span>. </div><br><div>I have made a small separate repo which demonstrates what I'm trying to do with building threads and running the pipeline. </div><br><div><a href="https://github.com/smhyatt/GStreamer-RTSP-Memory-Leak.git">https://github.com/smhyatt/GStreamer-RTSP-Memory-Leak.git</a></div><br><div>The code is in <span style="color:rgb(206,145,120)">`main.c`</span>, which contains the pipelines I am testing in the <span style="color:rgb(206,145,120)">`init_pipeline`</span>function. </div><br><div>Right now the streaming data is pulled from appsink and simply discarded. </div><br><div>I really hope someone can help (thanks for checking it out).</div></div><div><br></div><div><br></div><div><br></div><div><br></div></div>