Optimize network latency compensation cap to protect against system clock skew

This commit is contained in:
Timo
2026-05-30 00:03:56 +02:00
parent 56955027f9
commit 43cde9bbef
+1 -1
View File
@@ -388,7 +388,7 @@
const video = findVideo();
if (video && message.actionTimestamp) {
const latency = (Date.now() - message.actionTimestamp) / 1000;
if (latency > 0.05 && latency < 5.0) {
if (latency > 0.05 && latency < 1.0) {
_setSuppress('seek');
video.currentTime += latency;
reportLog(`Force Sync: Compensated ${Math.round(latency * 1000)}ms network latency`, 'info');