About the problem that deepstream does not support disconnection and reconnection

Today, when I was testing an HTTP or RTMP stream, I found that if frame loss or jitter occurs during the process due to network problems, the deep stream will be terminated directly. How can I modify deepstream to disconnect and reconnect?

I use Python development

At the same time such an error occurred,I can now confirm that these errors are caused by the stability of the network. After such an error occurs, the screen display will freeze and flash. If it is serious, terminate the program directly.

Warning: gst-core-error-quark: A large number of buffers are discarded. (13): gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a time stamp issue, or the computer is too slow.
Warning: gst-core-error-quark: A large number of buffers are discarded. (13): gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstEglGlesSink:nvvideo-renderer:
There may be a time stamp issue, or the computer is too slow.

Suppose GStreamer don’t disconnection by network jitter unless there is some error. Please try “export GST_DEBUG=2” before run your application to have a check.