summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2013-02-18 14:26:25 -0500
committerYonit Halperin <yhalperi@redhat.com>2013-04-22 11:34:20 -0400
commit1f603c09b8143ca2bed4ccd23b6f0f3bc7e330f9 (patch)
tree2c7d98013efcbddb7b9f31b92b42ea72c6261e2e
parentf188fb7a890867ebe5eace38021b1f3e1daa230d (diff)
downloadspice-protocol-1f603c09b8143ca2bed4ccd23b6f0f3bc7e330f9.tar.gz
spice-protocol-1f603c09b8143ca2bed4ccd23b6f0f3bc7e330f9.tar.xz
spice-protocol-1f603c09b8143ca2bed4ccd23b6f0f3bc7e330f9.zip
add stream report messages
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.
-rw-r--r--spice.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto
index 655352a..97d1e1b 100644
--- a/spice.proto
+++ b/spice.proto
@@ -890,6 +890,13 @@ channel DisplayChannel : BaseChannel {
} data;
} draw_composite;
+ message {
+ uint32 stream_id;
+ uint32 unique_id;
+ uint32 max_window_size;
+ uint32 timeout_ms;
+ } stream_activate_report;
+
client:
message {
uint8 pixmap_cache_id;
@@ -897,6 +904,17 @@ channel DisplayChannel : BaseChannel {
uint8 glz_dictionary_id;
int32 glz_dictionary_window_size; // in pixels
} init = 101;
+
+ message {
+ uint32 stream_id;
+ uint32 unique_id;
+ uint32 start_frame_mm_time;
+ uint32 end_frame_mm_time;
+ uint32 num_frames;
+ uint32 num_drops;
+ int32 last_frame_delay;
+ uint32 audio_delay;
+ } stream_report;
};
flags16 keyboard_modifier_flags {