I am using gstreamer with omxh to launch a rtsp server. Unfortunately, gst stucked sometimes without any error message, even set gst_debug_set_default_threshold to level 3.
How can I catch the gst error, like something like “gst_rtsp_media_set_state: media was not prepared” so that I can build an error handler or restart the application?