[Spice-commits] spice.proto
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 2 12:33:07 UTC 2020
spice.proto | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 8f9eb611f82b47ffb52451a9664072b98f8c7b74
Author: Kevin Pouget <kpouget at redhat.com>
Date: Thu Aug 22 15:17:21 2019 +0200
spice.proto: add quality_indicator messages
These messages are used to exchange Streaming Quality messages between
SPICE client and SPICE server:
- `SPICE_MSGC_MAIN_QUALITY_INDICATOR`: a client->server message on the
Main channel. This message is used by the client to share streaming
quality observation with the server and the adaptive streaming
control center. The format of the string message is not specified
yet, it will depend of the sender/receiver final implementation.
- `SPICE_MSG_DISPLAY_QUALITY_INDICATOR`: a server->client message on
the Display channel. This message is used to inform the client about
adaptive-streaming specific details. The client should use it to
configure its quality-message generation algorithms. The format of
the string message is not specified yet, it will depend of the
sender/receiver final implementation.
As an example, a `SPICE_MSG_DISPLAY_QUALITY_INDICATOR` message can
inform the client about the requested framerate (say, 60 FPS); and the
client will send a `SPICE_MSGC_MAIN_QUALITY_INDICATOR` warning message
when the measured framerate drops below 45 FPS.
Signed-off-by: Kevin Pouget <kpouget at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/spice.proto b/spice.proto
index 616b960..d9b419e 100644
--- a/spice.proto
+++ b/spice.proto
@@ -327,6 +327,8 @@ channel MainChannel : BaseChannel {
} @declare migrate_dst_do_seamless;
Empty migrate_connected_seamless;
+
+ Data quality_indicator;
};
enum8 clip_type {
@@ -970,6 +972,7 @@ channel DisplayChannel : BaseChannel {
uint32 h;
} @declare gl_draw;
+ Data quality_indicator;
client:
message {
uint8 pixmap_cache_id;
More information about the Spice-commits
mailing list