Catch gst-rtsp error

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?

Thank you very much

Hello @cwlinghk ,

I hope you are doing well.

Is it possible for you to share a little bit more details on your specific application. Details such as:

  • Are you using just a launching a GStreamer pipeline with gst-launch-1.0, or are you creating a custom GStreamer application?
  • If you are creating a GStreaner application, in what programming language are you developing?
  • Are you using any custom elements you created ?
  • Could you share what elements are you using? Even better if you can share the whole pipeline.

Hopefully with a little bit more information we can get to a solution for the issue you are experiencing.

best regards,
Andres Campos
Embedded Software Developer

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.