We are trying to stream v4l2src into 2 displayed based on user request using tee element

while displaying buffers in 1 display, and activating 2nd display makes first display freeze for small time( pipeline goes to pause for small time).
and How to stream in multiple displays using glimagesink

Can you share the pipeline being used?

Is there a queue element after the tee element in your pipeline?

gst-launch-1.0 v4l2src device=/dev/video0 ! tee name=t ! queue! glimagesink t. ! queue ! video/x-raw,format=BGR,framerate=30/1 ! queue ! x264enc ! h264parse ! mp4mux ! filesink location=/run/1.mp4 t. ! queue ! videoconvert ! jpegenc ! filesink location=capture.jpg
on each photo taking or start recording whole pipeline goes to pause and play this will cause issue in recorded pipeline and streaming