> > > > On 25 Aug 2017, at 11:54, Frediano Ziglio <fziglio@xxxxxxxxxx> wrote: > > > > This is an hacky patch that tryes to reduce lag tryes -> tries > > --- > > 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 5ab41396..88e5abba 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->stream_channel, buf, n, > > reds_get_mm_time()); > > + stream_channel_send_data(dev->stream_channel, buf, n, > > reds_get_mm_time() - 2000); > > How did you come up with value 2000? > > Thanks > Christophe > > > dev->hdr.size -= n; > > } > > if (dev->hdr.size == 0) { This is related to https://lists.freedesktop.org/archives/spice-devel/2017-August/039359.html. It tries to avoid latency on the client. The initial delay that server impose to the client is 400 ms. 2000 (still ms) make sure that this value can increase for a while. Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel