Routers can cause lags and latency. Bypassing them always improves performance.
Configure Windows 11 PC or iOS device as WiFi Access Point (Hotspot) and connect to it before connecting spacedesk.
USB Tethering achieves the same result.
Please check the chapter “Performance Tuning” in the instruction manual: https://spacedesk.net/user-manual