• Hardware Platform (GPU)
• DeepStream Version
deepstream-app version 6.3.0
DeepStreamSDK 6.3.0
CUDA Driver Version: 12.3
CUDA Runtime Version: 12.1
TensorRT Version: 8.5
cuDNN Version: 8.9
libNVWarp360 Version: 2.0.1d3
I have a pipeline that receives about 40 rtsp streams as input. After that, we send them to the detector, which returns detections, and we use these detections to generate crops. We send the received crops to the classifier. The problem is that over time, for some streams, the number of frames drops to 0. At the same time, if you completely stop the pipeline and start it again, all streams will start producing the required number of frames. I would like to know how I can restore the streams that have fallen without restarting the entire pipeline.
These are the settings streammux:
self.streammux.set_property("width", cfg['streammux']['width'])
self.streammux.set_property("height", cfg['streammux']['height'])
self.streammux.set_property("batch-size", self.number_sources)
self.streammux.set_property("batched-push-timeout", cfg['streammux']['batched-push-timeout'])
self.streammux.set_property("attach-sys-ts", cfg['streammux']['attach-sys-ts'])
self.streammux.set_property('live-source', 1)
self.streammux.set_property("nvbuf-memory-type", 3)
These are the settings source:
source_element = child_proxy.get_by_name("source")
if source_element.find_property('drop-on-latency'):
Object.set_property("drop-on-latency", False)
if source_element.find_property('protocols'):
Object.set_property("protocols", "tcp")
if source_element.find_property('latency'):
Object.set_property("latency", 1000)
if source_element.find_property('cudadec-memtype'):
Object.set_property('cudadec-memtype', 0)
if source_element.find_property('udp-buffer-size'):
Object.set_property('udp-buffer-size', 12000000)
if source_element.find_property('select-rtp-protocol'):
Object.set_property('select-rtp-protocol', 0)
if source_element.find_property('type'):
Object.set_property('type', 4)
if source_element.find_property('rtsp-reconnect-interval-sec'):
Object.set_property('rtsp-reconnect-interval-sec', 5)
if source_element.find_property('rtsp-reconnect-attempts'):
Object.set_property('rtsp-reconnect-attempts', 1)
These are the settings sink:
self.sink = Gst.ElementFactory.make("fakesink", "fakesink")
self.sink.set_property("qos", 0)
self.sink.set_property('sync', 0)