Socket has several second latency with high resolution

Hi, I have two pc inside a network, one exports movement’s commands through a socket and the other uses Unity 3D that reads a socket to move the character.

I’ve noticed that the latency, if a increase a little bit the resolution and quality (I’ve started from 1024x768 - fastest), is very high, about 5, 6 seconds, otherwise the movements are immediate.

What could be the problem? How can I solve?

Thanks

Please check your network environment, it shouldn’t be slow delay like this. usually it’s because of your router issue.

If someone still needs examples, you may try FMETP STREAM | Forum

It provides Streaming Demo with UDP/TCP/WebSocket solution, and Web browser demo with Socket.IO.

All source code are written in C# and easy to modify.

Supported: Android/iOS/Mac/PC