Hi @promaks444,
Routers can cause lags and latency. Bypassing them always improves performance. Configure Windows PC or iPad device as WiFi Access Point (Hotspot) and connect to it before connecting spacedesk.
USB Tethering achieves the same result, in case your iPad supports it.
Please check the chapter “Performance Tuning” in the instruction manual: https://spacedesk.net/user-manual
I made a hotspot on the ipad and connected to the second ip address that appeared there but fps is still low, and my router is new, could the problem be in the ipad itself?