Max-size-time dequeue

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
**• DeepStream Version 6.2 **
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)

I am using max-size-time to check overflow of queue, and I am having a question about it
g_object_set (G_OBJECT (dec_queue), “max-size-time”, 200, “leaky”, 2, NULL);
g_signal_connect (dec_queue, “overrun”, G_CALLBACK (queue_overrun_callback), this_bin);

Reference: queue

  1. Does deque use NTP time to check max size time?
  2. How does network bandwidth affect the overflowing of the queue in case of using max-size-time?

Thank you so much.

Please refer to queue (

The source code of gst-queue: subprojects/gstreamer/plugins/elements/gstqueue.c · main · GStreamer / gstreamer · GitLab

Your questions have nothing to do with DeepStream.

The network bandwidth will impact the data received by the video decoder(packets latencies fluctuate, packets lost,…) and then impact the decoded video frames. The larger the " max-size-time" value is, the more tolerance to the delay.

This is just a common asynchronization design of the application. You can google for more resources.