High latency for local rtsp streams for deepstream_nvdsanalytics-test

I run the test on two local RTSP stream in jetson nano and get a delay of about 5-7 seconds for each stream, could you share the config for this case to reduce the delay and make the processing in real time?
and yet, if I like something to get camera time from the stream for my case?
Thanks

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Have you tried local file as input, what about the latency?