<div dir="ltr">Hello,<br><br>I'm trying to write a custom error or eos handler in my gstreamer rtsp server application. <br>The reason is I wanted to catch the "error" signal raised by my watchdog element.<br><br>I have created a pipeline bin and overriden the create_element method of GstRTSPMediaFactory class. Then I tried to add a watch to my pipeline but it didn't work. I also tried to attach "media-configure" signal to the factory object and do the bus watch thing inside the signal handler but that didn't work either.<br><br>Has anyone done something like this? I'm attaching code for reference. Any help would be appreciated, thanks in advance.</div>