This is an hacky patch that tries to reduce lag
---
 server/stream-device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/stream-device.c b/server/stream-device.c
index 3c3d35dcb..5643ddaf7 100644
--- a/server/stream-device.c
+++ b/server/stream-device.c
@@ -205,7 +205,7 @@ handle_msg_data(StreamDevice *dev, SpiceCharDeviceInstance 
*sin)
         // TODO collect all message ??
         // up: we send a single frame together
         // down: guest can cause a crash
-        stream_channel_send_data(dev->stream_channel, buf, n, 
reds_get_mm_time());
+        stream_channel_send_data(dev->stream_channel, buf, n, 
reds_get_mm_time() - 2000);
         dev->hdr.size -= n;
     }
 
-- 
2.13.6

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to