[RFC PATCH spice-server v3 19/20] WIP: Try to reduce delay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an hacky patch that tryes 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 78fa146c..e28111d9 100644
--- a/server/stream-device.c
+++ b/server/stream-device.c
@@ -182,7 +182,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->channel, buf, n, reds_get_mm_time());
+        stream_channel_send_data(dev->channel, buf, n, reds_get_mm_time() - 2000);
         dev->hdr.size -= n;
     }
     if (dev->hdr.size == 0) {
-- 
2.13.5

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]