[Spice-devel] [RFC PATCH spice-server v2 19/19] WIP: Try to reduce delay
Frediano Ziglio
fziglio at redhat.com
Wed Jun 14 15:40:11 UTC 2017
This is an hacky patch that tryes to reduce lag
---
server/stream-channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/stream-channel.c b/server/stream-channel.c
index 433e42a..e5e073f 100644
--- a/server/stream-channel.c
+++ b/server/stream-channel.c
@@ -510,7 +510,7 @@ stream_channel_send_data(StreamChannel *channel, const void *data, size_t size)
red_pipe_item_init_full(&item->base, RED_PIPE_ITEM_TYPE_STREAM_DATA,
data_item_free);
item->data.base.id = channel->stream_id;
- item->data.base.multi_media_time = reds_get_mm_time();
+ item->data.base.multi_media_time = reds_get_mm_time() - 2000;
item->data.data_size = size;
item->channel = channel;
stream_channel_update_queue_stat(channel, 1, size);
--
2.9.4
More information about the Spice-devel
mailing list