some RTSP sources would blocking after many hours

Hi,
Please try to add gst_event_new_flush_stop(FALSE) as suggested in the following post.
https://devtalk.nvidia.com/default/topic/1064141/deepstream-sdk/adding-and-removing-streams-during-runtime/post/5400986/#5400986