summaryrefslogtreecommitdiffstats
path: root/spice1.proto
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-04-24 08:34:30 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-05-02 14:47:29 +0300
commit22fc0b0145876b90385c1c88923bcd72a6380812 (patch)
treea0350e5fc8f84b504d5ac3c6e442859302d832bf /spice1.proto
parent178c7eaff6fa45b9051bb4d3cf90f45ea9319f83 (diff)
downloadspice-common-22fc0b0145876b90385c1c88923bcd72a6380812.tar.gz
spice-common-22fc0b0145876b90385c1c88923bcd72a6380812.tar.xz
spice-common-22fc0b0145876b90385c1c88923bcd72a6380812.zip
video streaming: add support for frames of different sizes
rhbz #813826, #815426 Add SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, for stream_data message that also contains the size and destination box of the data. The server can send such messages only to clients with SPICE_DISPLAY_CAP_SIZED_STREAM.
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto8
1 files changed, 6 insertions, 2 deletions
diff --git a/spice1.proto b/spice1.proto
index fa2524b..2ed1058 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -533,6 +533,11 @@ struct String {
} u @anon;
};
+struct StreamDataHeader {
+ uint32 id;
+ uint32 multi_media_time;
+};
+
channel DisplayChannel : BaseChannel {
server:
message {
@@ -580,8 +585,7 @@ channel DisplayChannel : BaseChannel {
} stream_create = 122;
message {
- uint32 id;
- uint32 multi_media_time;
+ StreamDataHeader base;
uint32 data_size;
uint32 pad_size @zero;
uint8 data[data_size] @end @nomarshal;