Waiting for stream session

I get the RTSP address from another VMS server, put it in the incoming stream from the WOWZA server stream files, and use it when it becomes active.
The problem is that when no video is received, the connection request is made too often to another vms server in the waiting for stream state. I want to reduce the connection request time.

So you are trying to reduce this I believe?

RTSPSessionTimeout - Elapsed time, in milliseconds, after which an idle RTSP session is determined to be stale and is disconnected. To turn off idle disconnect, set this value to 0 . Wowza Streaming Engine monitors all RTSP sessions and looks for periodic RTSP messages or RTCP receiver packets over RTP. If the server hasn’t received messages during the session timeout period, the session is disconnected.

Settings can be found here:

https://www.wowza.com/docs/wowza-streaming-engine-applicationxml-configuration-reference#apptimeout