[RFC PATCH spice-server v2 19/19] 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-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

_______________________________________________
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]