diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-01-21 12:32:27 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-04-22 11:30:49 -0400 |
commit | a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c (patch) | |
tree | 769fb4466465681e47f46b81dae753af56b78441 /spice | |
parent | f3579abb3a8df2e3e635e6419ec2ca04c403921b (diff) | |
download | spice-protocol-a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c.tar.gz spice-protocol-a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c.tar.xz spice-protocol-a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c.zip |
add SPICE_MSGC_DISPLAY_STREAM_REPORT
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.
Diffstat (limited to 'spice')
-rw-r--r-- | spice/enums.h | 2 | ||||
-rw-r--r-- | spice/protocol.h | 1 |
2 files changed, 3 insertions, 0 deletions
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 { |