<div dir="ltr">I have a working pipeline that is a combination of custom AVFilters and standard Gstreamer filters.<div><br></div><div>One of those custom AVFilters needs an initialization and also mantain alive in order to communicate with other programs.</div><div><br></div><div>I also test with test-launch.c example from the gstreamer rtsp lib and have a working rtsp feed.</div><div><br></div><div>So now my problems and what I have tried</div><div><br></div><div>I want that when a script launch the rtsp program (for example test-launch.c) the library will be initialized and mantain alive even when no user have connected to the rtsp. Also the custom Filter needs to consume the frames by his own and make process.</div><div><br></div><div>I tried to initialize on the init method of the Filter but init method is called every time a user connect to the feed.</div><div><br></div><div>I also try with class_init, The library initialize even a user does not connect to the rtsp feed but then the threads that launch it closes, so the library communications is also closed.</div><div><br></div><div>How can I achieve this??</div><div><br></div><div><br></div></div>