[Spice-devel] [PATCH spice-protocol] RFC protocol: Allows to send partial frame data

Frediano Ziglio fziglio at redhat.com
Mon Nov 6 17:13:09 UTC 2017


Reduce the needs to buffer the entire frame and than send
and on the other end to wait the entire frame before processing.
Some encodings allow to start processing before having a full
frame allowing to reduce latency and buffering with huge frames.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 spice/protocol.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/spice/protocol.h b/spice/protocol.h
index cbf2f01..16590d4 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -143,6 +143,7 @@ enum {
     SPICE_DISPLAY_CAP_CODEC_H264,
     SPICE_DISPLAY_CAP_PREF_VIDEO_CODEC_TYPE,
     SPICE_DISPLAY_CAP_CODEC_VP9,
+    SPICE_DISPLAY_CAP_STREAM_PARTIAL,
 };
 
 enum {
-- 
2.13.6



More information about the Spice-devel mailing list