mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Spice: support audio, images and stream compression
This extends the SPICE XML to allow variable compression settings for audio,
images and streaming:
<graphics type='spice' port='5901' tlsPort='-1' autoport='yes'>
<image compression='auto_glz'/>
<jpeg compression='auto'/>
<zlib compression='auto'/>
<playback compression='on'/>
</graphics>
All new elements are optional.
This commit is contained in:
committed by
Eric Blake
parent
eed9d69e3c
commit
abb1570eac
+75
-23
@@ -1260,29 +1260,81 @@
|
||||
<text/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<element name="channel">
|
||||
<attribute name="name">
|
||||
<choice>
|
||||
<value>main</value>
|
||||
<value>display</value>
|
||||
<value>inputs</value>
|
||||
<value>cursor</value>
|
||||
<value>playback</value>
|
||||
<value>record</value>
|
||||
<value>smartcard</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<attribute name="mode">
|
||||
<choice>
|
||||
<value>any</value>
|
||||
<value>secure</value>
|
||||
<value>insecure</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
<interleave>
|
||||
<zeroOrMore>
|
||||
<element name="channel">
|
||||
<attribute name="name">
|
||||
<choice>
|
||||
<value>main</value>
|
||||
<value>display</value>
|
||||
<value>inputs</value>
|
||||
<value>cursor</value>
|
||||
<value>playback</value>
|
||||
<value>record</value>
|
||||
<value>smartcard</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<attribute name="mode">
|
||||
<choice>
|
||||
<value>any</value>
|
||||
<value>secure</value>
|
||||
<value>insecure</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</zeroOrMore>
|
||||
<optional>
|
||||
<element name="image">
|
||||
<attribute name="compression">
|
||||
<choice>
|
||||
<value>auto_glz</value>
|
||||
<value>auto_lz</value>
|
||||
<value>quic</value>
|
||||
<value>glz</value>
|
||||
<value>lz</value>
|
||||
<value>off</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="jpeg">
|
||||
<attribute name="compression">
|
||||
<choice>
|
||||
<value>auto</value>
|
||||
<value>never</value>
|
||||
<value>always</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="zlib">
|
||||
<attribute name="compression">
|
||||
<choice>
|
||||
<value>auto</value>
|
||||
<value>never</value>
|
||||
<value>always</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="playback">
|
||||
<attribute name="compression">
|
||||
<choice>
|
||||
<value>on</value>
|
||||
<value>off</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</group>
|
||||
<group>
|
||||
<attribute name="type">
|
||||
|
||||
Reference in New Issue
Block a user