[Spice-devel] [PATCH spice-protocol 1/2] add SPICE_MSGC_DISPLAY_STREAM_REPORT
Yonit Halperin
yhalperi at redhat.com
Tue Feb 26 10:04:42 PST 2013
If the server & client support SPICE_DISPLAY_CAP_STREAM_REPORT,
the server first sends SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT. Then,
the client periodically sends SPICE_MSGC_DISPLAY_STREAM_REPORT
messages that supply the server details about the current quality of
the video streaming on the client side. The server analyses the
report and adjust the stream parameters accordingly.
---
spice/enums.h | 2 ++
spice/protocol.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/spice/enums.h b/spice/enums.h
index cf5715f..3c89f2e 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -470,12 +470,14 @@ enum {
SPICE_MSG_DISPLAY_STREAM_DATA_SIZED,
SPICE_MSG_DISPLAY_MONITORS_CONFIG,
SPICE_MSG_DISPLAY_DRAW_COMPOSITE,
+ SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT,
SPICE_MSG_END_DISPLAY
};
enum {
SPICE_MSGC_DISPLAY_INIT = 101,
+ SPICE_MSGC_DISPLAY_STREAM_REPORT,
SPICE_MSGC_END_DISPLAY
};
diff --git a/spice/protocol.h b/spice/protocol.h
index e500a17..028cade 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -129,6 +129,7 @@ enum {
SPICE_DISPLAY_CAP_MONITORS_CONFIG,
SPICE_DISPLAY_CAP_COMPOSITE,
SPICE_DISPLAY_CAP_A8_SURFACE,
+ SPICE_DISPLAY_CAP_STREAM_REPORT,
};
enum {
--
1.8.1
More information about the Spice-devel
mailing list