[Spice-devel] [spice v8 05/24] server: Let the administrator pick the video encoder and codec
Uri Lublin
uril at redhat.com
Thu Jan 14 04:52:20 PST 2016
On 01/12/2016 12:58 PM, Francois Gouget wrote:
> The Spice server administrator can specify the preferred encoder and
> codec preferences to optimize for CPU or bandwidth usage. Preferences
> are described in a semi-colon separated list of encoder:codec pairs.
> The server has a default preference list which can explicitly be
> selected by specifying 'auto'.
>
> The server then picks a codec supported by the client based on the
> following new client capabilities:
> * SPICE_DISPLAY_CAP_MULTI_CODEC which denotes a recent client that
> supports multiple codecs. This capability is needed to not have to
> hardcode that MJPEG is supported. This makes it possible to write
> clients that don't support MJPEG.
> * SPICE_DISPLAY_CAP_CODEC_XXX, where XXX is a supported codec. Note
> that for now the server only supports the MJPEG codec.
>
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
> diff --git a/server/spice-server.syms b/server/spice-server.syms
> index d65e14d..b8f06a2 100644
> --- a/server/spice-server.syms
> +++ b/server/spice-server.syms
> @@ -162,3 +162,8 @@ global:
> spice_replay_next_cmd;
> spice_replay_free_cmd;
> } SPICE_SERVER_0.12.5;
> +
> +SPICE_SERVER_0.12.7 {
> +global:
> + spice_server_set_video_codecs;
> +} SPICE_SERVER_0.12.6;
Hi,
This part fails to apply as there it is already defined with
spice_server_set_keepalive_timeout
Regards,
Uri.
More information about the Spice-devel
mailing list