Changes between Version 5 and Version 6 of PacketEncoding
- Timestamp:
- 12/11/13 10:06:50 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PacketEncoding
v5 v6 4 4 5 5 6 {{{#!div class="box" 6 7 == Bencode vs Rencode == 7 8 Each packet exchanged between the client and server is encoded using one of those two stream encoders: … … 9 10 * The newer/faster [http://xpra.org/trac/browser/xpra/trunk/src/xpra/net/rencode rencode] mode, based on [https://code.google.com/p/rencode/ this version] with minor tweaks/fixes 10 11 This allows various languages to implement the xpra protocol, specifying which encoder they want to use (bencode is more widely available than rencode). 11 12 [[BR]] 12 }}} 13 13 14 14 15 {{{#!div class="box" 15 16 == Pixels and Icons == 16 17 17 18 '''Note''': all window pixels, icons and cursors are sent using dedicated [/wiki/Encodings picture encodings] and bypass the stream encoder completely (for speed). 18 19 [[BR]] 19 }}} 20 20 21 21 22 {{{#!div class="box" 22 23 == Compression == 23 24 The compression level can be specified via the command line ("{{{-z LEVEL}}}" or "{{{--compress=LEVEL}}}"). … … 28 29 * values of 2 and above increase the compression (CPU usage and latency will increase) and should rarely be needed - the [/wiki/Encodings picture encoding] used is much more important 29 30 31 30 32 === lz4 vs zcompress === 31 33 As of version {{{0.11.0}}}, xpra supports [https://pypi.python.org/pypi/lz4 lz4] compression and will use it instead of the default [http://docs.python.org/2/library/zlib.html zlib] when {{{LEVEL}}} is set to 1 and both ends support the compression mode. More information here: #443 32 34 [[BR]] 33 35 We have an [/attachment/wiki/PacketEncoding/python-lz4.spec python-lz4.spec rpm specfile] and {{{RPM}}}s should be available for {{{Fedora}}} and {{{CentOS}}} 6.x in the RPM repository. 36 }}}