summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Pouget <kpouget@redhat.com>2020-04-02 13:34:09 +0100
committerFrediano Ziglio <fziglio@redhat.com>2020-04-02 13:34:35 +0100
commit896aacee5094270b401df3d138a7d03eccdfff32 (patch)
treebeac9d5fc859819edbe34a4c3a1d2268c38a55ce
parent2d3324b8999b06442fd92c03b260c08a51101521 (diff)
enums: 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@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--spice/enums.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/spice/enums.h b/spice/enums.h
index e88c1b1..594ab5d 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -507,6 +507,7 @@ enum {
SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT,
SPICE_MSG_DISPLAY_GL_SCANOUT_UNIX,
SPICE_MSG_DISPLAY_GL_DRAW,
+ SPICE_MSG_DISPLAY_QUALITY_INDICATOR,
SPICE_MSG_END_DISPLAY
};