diff --git a/utils/fallbackswitch/src/fallbacksrc.rs b/utils/fallbackswitch/src/fallbacksrc.rs index e3c39784..4e3a2da8 100644 --- a/utils/fallbackswitch/src/fallbacksrc.rs +++ b/utils/fallbackswitch/src/fallbacksrc.rs @@ -663,6 +663,13 @@ impl FallbackSrc { .expect("No clocksync or identity found"); let queue = gst::ElementFactory::make("queue", Some("fallback_queue")) .expect("No queue found"); + queue + .set_properties(&[ + ("max-size-buffers", &0u32), + ("max-size-bytes", &0u32), + ("max-size-time", &(5 * gst::SECOND)), + ]) + .unwrap(); input .add_many(&[