RTSP latency does not work with NVSTREAMMUX

Please note the following gst-lauch-1.0 command using nvcompositor respects the RTSP’s latency and provides super smooth streaming.

gst-launch-1.0 \
  rtspsrc location=$RTSP_PATH1 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH2 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH3 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH4 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH5 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH6 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH7 latency=1000 ! decodebin ! queue ! comp. \
  rtspsrc location=$RTSP_PATH8 latency=1000 ! decodebin ! queue ! comp. \
  nvcompositor name=comp \
  sink_0::xpos=0 sink_0::ypos=0 sink_0::width=640 sink_0::height=360 \
  sink_1::xpos=640 sink_1::ypos=0 sink_1::width=640 sink_1::height=360 \
  sink_2::xpos=1280 sink_2::ypos=0 sink_2::width=640 sink_2::height=360 \
  sink_3::xpos=0 sink_3::ypos=360 sink_3::width=640 sink_3::height=360 \
  sink_4::xpos=640 sink_4::ypos=360 sink_4::width=640 sink_4::height=360 \
  sink_5::xpos=1280 sink_5::ypos=360 sink_5::width=640 sink_5::height=360 \
  sink_6::xpos=0 sink_6::ypos=720 sink_6::width=640 sink_6::height=360 \
  sink_7::xpos=640 sink_7::ypos=720 sink_7::width=640 sink_7::height=360 \
  sink_8::xpos=1280 sink_8::ypos=720 sink_8::width=640 sink_8::height=360 \
  ! nvoverlaysink display-id=1 

The issue seems to be with nvstreammux not respecting the latency of the rtspsrc