How can I reduce TinyPilot's latency?
On a well-provisioned local network, TinyPilot achieves 100 milliseconds of latency on its H.264 video stream. On slower networks or across the Internet, you may experience higher latency. This article includes steps you can take to reduce TinyPilot's latency.
Switch to H.264 video
Switching to the H.264 video format can drastically improve latency.
To change which video format TinyPilot uses, go to System > Video Settings.

Choose H.264 from the streaming mode dropdown list.

If your network connection to the TinyPilot doesn't support WebRTC connections, you can optimize latency using MJPEG (see below).
Reducing H.264 latency with High-performance mode
Switching on High-performance mode can decrease latency to 80 milliseconds.
High-performance mode increases frame rate and GPU clock to achieve the lowest latency. It is not recommended for warm environments. If you notice instability, turn off High-performance mode.

Reducing latency with MJPEG video
For most users, you will achieve better performance using H.264 video. You should only switch to MJPEG video if your network is incompatible with the WebRTC connection that H.264 mode requires.
To select MJPEG mode, follow the instructions under Switch to H.264 video but choose MJPEG from the streaming mode dropdown list.
Adjust the frame rate and quality settings to fine-tune performance for your network. Latency will reduce as you lower the frame rate and quality.
